summary refs log tree commit diff stats
path: root/system
diff options
context:
space:
mode:
authorSilas Schöffel <sils@sils.li>2024-07-11 15:45:55 +0200
committerSilas Schöffel <sils@sils.li>2024-07-11 15:45:55 +0200
commitc74eeaa0c661c2b690fcd489f17ee05372d585db (patch)
tree796d6460e988ce9dd8e3d908eb17e88eca07511e /system
parentbuild(flake): update (diff)
downloadnixos-server-c74eeaa0c661c2b690fcd489f17ee05372d585db.tar.gz
nixos-server-c74eeaa0c661c2b690fcd489f17ee05372d585db.zip
fix(nginx): add gallery.s-schoeffel.de
Diffstat (limited to 'system')
-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 = {