From 7de0a20139cad4ae814e87dd04ed7926fef62a9a Mon Sep 17 00:00:00 2001 From: Eli Ribble Date: Wed, 22 Jan 2025 01:57:31 -0700 Subject: [PATCH] Limit nginx to a single specific IPv6 address. It frees up the other address to take over port 80. --- sovr/etc/nixos/configuration.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sovr/etc/nixos/configuration.nix b/sovr/etc/nixos/configuration.nix index 5215116..aa876a2 100644 --- a/sovr/etc/nixos/configuration.nix +++ b/sovr/etc/nixos/configuration.nix @@ -71,9 +71,10 @@ settings = { bindAddr = "2605:e440::2:3e"; bindPort = 7000; - vhostHTTPPort = 8081; + vhostHTTPPort = 80; }; }; + services.nginx.defaultListenAddresses = [ "0.0.0.0" "2605:e440::2:1d5" ]; services.openssh = { enable = true; # require public key authentication for better security