Merge pull request #850 from aledbf/fix-udp
Fix IPv6 UDP stream section
This commit is contained in:
commit
eb61873730
1 changed files with 2 additions and 2 deletions
|
@ -564,7 +564,7 @@ stream {
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen {{ $udpServer.Port }} udp;
|
listen {{ $udpServer.Port }} udp;
|
||||||
{{ if $IsIPV6Enabled }}listen [::]:{{ $udpServer.Port }}{{ end }}
|
{{ if $IsIPV6Enabled }}listen [::]:{{ $udpServer.Port }} udp;{{ end }}
|
||||||
proxy_responses 1;
|
proxy_responses 1;
|
||||||
proxy_pass udp-{{ $udpServer.Backend.Namespace }}-{{ $udpServer.Backend.Name }}-{{ $udpServer.Backend.Port }};
|
proxy_pass udp-{{ $udpServer.Backend.Namespace }}-{{ $udpServer.Backend.Name }}-{{ $udpServer.Backend.Port }};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue