Limit nginx to a single specific IPv6 address.

It frees up the other address to take over port 80.
This commit is contained in:
Eli Ribble 2025-01-22 01:57:31 -07:00
parent 1c10ea89d7
commit 7de0a20139
1 changed files with 2 additions and 1 deletions

View File

@ -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