summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlassulus <git@lassul.us>2023-03-14 07:17:27 +0100
committerlassulus <git@lassul.us>2023-03-14 07:17:27 +0100
commita2f5e6ff8766465a3582fc77f946976122feae98 (patch)
treefca27ff16bc429d2c621ba04893fc0266601c228
parentffbdcfefa731b3c1a5de5e2fae9bacd6edb9cf67 (diff)
l coms: proxy also ipv6
-rw-r--r--lass/2configs/services/coms/proxy.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/lass/2configs/services/coms/proxy.nix b/lass/2configs/services/coms/proxy.nix
index 57e132151..e8555f9b7 100644
--- a/lass/2configs/services/coms/proxy.nix
+++ b/lass/2configs/services/coms/proxy.nix
@@ -16,6 +16,7 @@ in
services.nginx.streamConfig = ''
${lib.concatMapStringsSep "\n" (port: ''
server {
+ listen [::]:${toString port};
listen ${toString port};
proxy_pass ${target}:${toString port};
}