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:
parent
280a336925
commit
60de35b945
@ -3,7 +3,7 @@
|
||||
proxy_site_conf_dir : /etc/nginx/conf.d
|
||||
proxy_site_file : "{{ proxy_site_conf_dir }}/zen_proxy.conf"
|
||||
proxy_site_version : 1.8
|
||||
proxy_site_revision : 20200113-141420
|
||||
proxy_site_revision : 20200515-171007
|
||||
|
||||
|
||||
proxy_site_log_path : /proxy_logs
|
||||
|
@ -186,6 +186,7 @@ proxy_sites:
|
||||
dest : "{{ proxy_default_host }}"
|
||||
port : 443
|
||||
max_upload : "{{ proxy_default_max_upload }}"
|
||||
status_page : True
|
||||
|
||||
|
||||
devel.thezengarden.net:
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user