summary refs log tree commit diff stats
path: root/system/services/nginx/default.nix
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--system/services/nginx/default.nix11
1 files changed, 10 insertions, 1 deletions
diff --git a/system/services/nginx/default.nix b/system/services/nginx/default.nix
index 996996e..b804754 100644
--- a/system/services/nginx/default.nix
+++ b/system/services/nginx/default.nix
@@ -60,7 +60,16 @@ in {
   services.nginx = {
     enable = true;
     # The merge here is fine, as no domain should be specified twice
-    virtualHosts = virtHosts // redirects;
+    virtualHosts =
+      {
+        "gallery.s-schoeffel.de" = {
+          forceSSL = true;
+          enableACME = true;
+          root = "/srv/gallery.s-schoeffel.de";
+        };
+      }
+      // virtHosts
+      // redirects;
   };
 
   services.nix-sync = {