Limit nginx to a single specific IPv6 address.
It frees up the other address to take over port 80.
This commit is contained in:
parent
1c10ea89d7
commit
7de0a20139
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue