From 412845802b89b4e9c01b9025e4d48541c9a61c2d Mon Sep 17 00:00:00 2001 From: Vivian Roest Date: Tue, 19 Oct 2021 02:02:35 +0200 Subject: [PATCH] nginx: fix up --- hosts/nginx/configuration.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/hosts/nginx/configuration.nix b/hosts/nginx/configuration.nix index 2b352eff..6137c15c 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;