diff --git a/hosts/nginx/configuration.nix b/hosts/nginx/configuration.nix index 2b352ef..6137c15 100644 --- a/hosts/nginx/configuration.nix +++ b/hosts/nginx/configuration.nix @@ -13,7 +13,7 @@ ]; - networking.hostName = "vault"; + networking.hostName = "nginx"; # This value determines the NixOS release from which the default # settings for stateful data, like file locations and database versions @@ -26,6 +26,8 @@ # Additional packages environment.systemPackages = with pkgs; []; + networking.firewall.allowedTCPPorts = [ 80 443 ]; + services.nginx = { enable = true; recommendedProxySettings = true;