l coms: proxy also ipv6
This commit is contained in:
parent
ffbdcfefa7
commit
a2f5e6ff87
@ -16,6 +16,7 @@ in
|
|||||||
services.nginx.streamConfig = ''
|
services.nginx.streamConfig = ''
|
||||||
${lib.concatMapStringsSep "\n" (port: ''
|
${lib.concatMapStringsSep "\n" (port: ''
|
||||||
server {
|
server {
|
||||||
|
listen [::]:${toString port};
|
||||||
listen ${toString port};
|
listen ${toString port};
|
||||||
proxy_pass ${target}:${toString port};
|
proxy_pass ${target}:${toString port};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user