From 0fd1ea03c26a16b4830613201dc9abd22b0bedd4 Mon Sep 17 00:00:00 2001 From: Sheppy Date: Mon, 26 Dec 2022 00:26:46 +0100 Subject: [PATCH] feat: listen ipv6 stream --- templates/nginx_stream_block.conf.j2 | 1 + 1 file changed, 1 insertion(+) diff --git a/templates/nginx_stream_block.conf.j2 b/templates/nginx_stream_block.conf.j2 index f4b3be4..3bd0c39 100644 --- a/templates/nginx_stream_block.conf.j2 +++ b/templates/nginx_stream_block.conf.j2 @@ -2,6 +2,7 @@ server { # {{ comment }} listen {{ portstring }} {% if udp %} udp {% endif %}{% if ssl %} ssl {% endif %}; + listen [::]:{{ portstring }} {% if udp %} udp {% endif %}{% if ssl %} ssl {% endif %}; proxy_timeout {{ proxy_timeout }}; proxy_responses 1;