0.1.28-DEV-20200515-171249
-------------------------- * ADD: - status_page option for /nginx_status; toggle per site * MODIFY: - defaults/main/proxy_sites.yml formatting modified for readability
This commit is contained in:
@ -27,6 +27,12 @@ server {
|
||||
client_max_body_size {{ proxy_sites[item.key]['max_upload'] }};
|
||||
{% endif %}
|
||||
|
||||
{% if proxy_sites[item.key]['status_page'] is defined %}
|
||||
location /nginx_status {
|
||||
stub_status;
|
||||
}
|
||||
{% endif %}
|
||||
|
||||
location / {
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-Host $host;
|
||||
|
Reference in New Issue
Block a user