From c0644470ba39330b906920f84e160a94371847be Mon Sep 17 00:00:00 2001 From: stuebinm Date: Mon, 29 Nov 2021 11:08:05 +0100 Subject: add blog to flora --- hosts/flora/configuration.nix | 1 + hosts/flora/services/blog.nix | 9 +++++++++ 2 files changed, 10 insertions(+) create mode 100644 hosts/flora/services/blog.nix (limited to 'hosts') diff --git a/hosts/flora/configuration.nix b/hosts/flora/configuration.nix index 89bef32..e8e6345 100644 --- a/hosts/flora/configuration.nix +++ b/hosts/flora/configuration.nix @@ -11,6 +11,7 @@ # ./services/surveys.nix #./services/picarones.nix ./services/dockerhub.nix + ./services/blog.nix ]; # Use the GRUB 2 boot loader. diff --git a/hosts/flora/services/blog.nix b/hosts/flora/services/blog.nix new file mode 100644 index 0000000..428b3fb --- /dev/null +++ b/hosts/flora/services/blog.nix @@ -0,0 +1,9 @@ +{ config, lib, pkgs, ... }: + +{ + services.nginx.virtualHosts."stuebinm.eu" = { + enableACME = true; + forceSSL = true; + locations."/".root = (import /home/stuebinm/Dokumente/blog); + }; +} -- cgit v1.2.3