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