Add setting to configure proxy responses in the stream section

This commit is contained in:
Manuel de Brito Fontes 2017-11-30 17:53:23 -03:00
parent b39e59e37b
commit 3058e7758d
4 changed files with 29 additions and 1 deletions

View file

@ -514,7 +514,7 @@ stream {
listen [::]:{{ $udpServer.Port }} udp;
{{ end }}
{{ end }}
proxy_responses 1;
proxy_responses {{ $cfg.ProxyStreamResponses }};
proxy_timeout {{ $cfg.ProxyStreamTimeout }};
proxy_pass udp-{{ $udpServer.Port }}-{{ $udpServer.Backend.Namespace }}-{{ $udpServer.Backend.Name }}-{{ $udpServer.Backend.Port }};
}