summaryrefslogtreecommitdiff
path: root/hosts/atlas/nginx.nix
diff options
context:
space:
mode:
authorseth <[email protected]>2023-07-19 23:13:09 -0400
committerseth <[email protected]>2023-07-19 23:13:09 -0400
commit9769f23c295bed3a9804d6958644479587a45329 (patch)
treebd62b68bffbf151b42de0856603b0503c8bafb33 /hosts/atlas/nginx.nix
parent289b29a976fb37b3f7fe8b152d6bd5c7a132a6a1 (diff)
hosts/atlas + p-body: close port 80
Diffstat (limited to 'hosts/atlas/nginx.nix')
-rw-r--r--hosts/atlas/nginx.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/hosts/atlas/nginx.nix b/hosts/atlas/nginx.nix
index 5805dc8..b6b2fe7 100644
--- a/hosts/atlas/nginx.nix
+++ b/hosts/atlas/nginx.nix
@@ -1,5 +1,5 @@
{config, ...}: {
- networking.firewall.allowedTCPPorts = [80 443];
+ networking.firewall.allowedTCPPorts = [443];
security.acme = {
acceptTerms = true;
@@ -17,7 +17,7 @@
virtualHosts = let
mkProxy = endpoint: port: {
"${endpoint}" = {
- proxyPass = "http://127.0.0.1:${port}";
+ proxyPass = "http://localhost:${port}";
proxyWebsockets = true;
};
};