diff options
Diffstat (limited to '')
-rw-r--r-- | system/services/nginx/default.nix | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/system/services/nginx/default.nix b/system/services/nginx/default.nix index 406f2a1..6753fb0 100644 --- a/system/services/nginx/default.nix +++ b/system/services/nginx/default.nix @@ -1,15 +1,11 @@ -{websites, ...}: { +{...}: { + imports = [ + ./hosts.nix + ]; networking.firewall = { allowedTCPPorts = [80 443]; }; services.nginx = { enable = true; - virtualHosts = { - "vhack.eu" = { - forceSSL = true; - enableACME = true; - root = "${websites}/websites/vhack.eu"; - }; - }; }; } |