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:
2020-05-15 17:13:44 -04:00
parent 280a336925
commit 60de35b945
3 changed files with 44 additions and 37 deletions

View File

@ -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;