This commit is contained in:
Manuel Pirez Nuñez 2017-06-05 05:57:50 +00:00 committed by GitHub
commit 3b14bc4546

View file

@ -523,6 +523,16 @@ http {
{{ end }}
}
}
{{- if $cfg.EnableVtsStatus }}
server {
listen 18081 {{ if $cfg.UseProxyProtocol -}} proxy_protocol {{ end -}} reuseport;
location /nginx_status {
proxy_pass http://127.0.0.1:18080;
}
}
{{ end -}}
}
stream {