Update nginx.tmpl

This commit is contained in:
Manuel Pirez Nuñez 2017-04-17 15:46:02 -05:00 committed by GitHub
parent d8368ec939
commit a5ca4e6d71

View file

@ -474,9 +474,9 @@ http {
} }
} }
{{- if $cfg.enableVtsStatus }} {{- if $cfg.EnableVtsStatus }}
server { server {
listen 18081 {{ if $cfg.useProxyProtocol -}} proxy_protocol {{ end -}} reuseport; listen 18081 {{ if $cfg.UseProxyProtocol -}} proxy_protocol {{ end -}} reuseport;
location /nginx_status { location /nginx_status {
proxy_pass http://127.0.0.1:18080; proxy_pass http://127.0.0.1:18080;