Merge a5ca4e6d71
into 2829997b5f
This commit is contained in:
commit
3b14bc4546
1 changed files with 10 additions and 0 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue