diff options
author | sils <sils@sils.li> | 2023-04-21 08:00:03 +0200 |
---|---|---|
committer | sils <sils@sils.li> | 2023-04-21 08:00:03 +0200 |
commit | 50fd32a0cf30ad7b4b4c14a23aa42002e0c55781 (patch) | |
tree | 2544aad727a08550a2645fdf3cd01bf97dbea35d /system/services/nginx | |
parent | Merge pull request 'server1_build' (#25) from server1_build into server1 (diff) | |
parent | Feat(system/services/nginx): Change to declarative websites (diff) | |
download | nixos-server-50fd32a0cf30ad7b4b4c14a23aa42002e0c55781.tar.gz nixos-server-50fd32a0cf30ad7b4b4c14a23aa42002e0c55781.zip |
Merge pull request 'Feat(system/services/nginx): Change to declarative websites' (#29) from server1_webpage into develop
Reviewed-on: https://codeberg.org/vhack.eu/nixos-server/pulls/29
Diffstat (limited to 'system/services/nginx')
-rw-r--r-- | system/services/nginx/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/system/services/nginx/default.nix b/system/services/nginx/default.nix index 204783b..9d4d645 100644 --- a/system/services/nginx/default.nix +++ b/system/services/nginx/default.nix @@ -1,4 +1,4 @@ -{...}: { +{websites, ...}: { networking.firewall = { allowedTCPPorts = [80 443]; }; @@ -8,7 +8,7 @@ "vhack.eu" = { forceSSL = true; enableACME = true; - root = "/srv/www/vhack.eu"; + root = "${websites}/web/vhack.eu"; }; }; }; |