l coms: proxy also ipv6

This commit is contained in:
lassulus 2023-03-14 07:17:27 +01:00
parent ffbdcfefa7
commit a2f5e6ff87

View File

@ -16,6 +16,7 @@ in
services.nginx.streamConfig = ''
${lib.concatMapStringsSep "\n" (port: ''
server {
listen [::]:${toString port};
listen ${toString port};
proxy_pass ${target}:${toString port};
}