diff options
author | Silas Schöffel <sils@sils.li> | 2024-07-11 15:45:55 +0200 |
---|---|---|
committer | Silas Schöffel <sils@sils.li> | 2024-07-11 15:45:55 +0200 |
commit | c74eeaa0c661c2b690fcd489f17ee05372d585db (patch) | |
tree | 796d6460e988ce9dd8e3d908eb17e88eca07511e /system/services | |
parent | build(flake): update (diff) | |
download | nixos-server-c74eeaa0c661c2b690fcd489f17ee05372d585db.tar.gz nixos-server-c74eeaa0c661c2b690fcd489f17ee05372d585db.zip |
fix(nginx): add gallery.s-schoeffel.de
Diffstat (limited to 'system/services')
-rw-r--r-- | system/services/nginx/default.nix | 11 |
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 = { |