summaryrefslogtreecommitdiff
path: root/hosts/flora
diff options
context:
space:
mode:
authorstuebinm2021-11-29 11:08:05 +0100
committerstuebinm2021-11-29 11:08:05 +0100
commitc0644470ba39330b906920f84e160a94371847be (patch)
tree8e75546e4d7a633dc48ba02e24127233de15a656 /hosts/flora
parentcb8a3b24b9a0599ea1c6fd88f7613c26c9914177 (diff)
add blog to flora
Diffstat (limited to 'hosts/flora')
-rw-r--r--hosts/flora/configuration.nix1
-rw-r--r--hosts/flora/services/blog.nix9
2 files changed, 10 insertions, 0 deletions
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);
+ };
+}