Fix IPv6 UDP stream section

This commit is contained in:
Manuel de Brito Fontes 2017-06-13 08:45:30 -04:00
parent 2ebd98fa02
commit 51b2e0f2cb

View file

@ -564,7 +564,7 @@ stream {
server {
listen {{ $udpServer.Port }} udp;
{{ if $IsIPV6Enabled }}listen [::]:{{ $udpServer.Port }}{{ end }}
{{ if $IsIPV6Enabled }}listen [::]:{{ $udpServer.Port }} udp;{{ end }}
proxy_responses 1;
proxy_pass udp-{{ $udpServer.Backend.Namespace }}-{{ $udpServer.Backend.Name }}-{{ $udpServer.Backend.Port }};
}