0.1.4-DEV-20191031-074215

-------------------------
    * ADD:
      - added client_max_body_size in proxy_site.j2 template so sites may permit uploads of larger files

    * MODIFY:
      - modified several sites to make use of client_max_body_size option
This commit is contained in:
2019-10-31 07:42:49 -04:00
parent bba2602f4f
commit bd82ec227c
4 changed files with 52 additions and 29 deletions

View File

@ -23,6 +23,10 @@ server {
access_log {{ proxy_site_log_path }}/{{ item.key }}.log;
{% if proxy_sites[item.key]['max_upload'] is defined %}
client_max_body_size {{ proxy_sites[item.key]['max_upload'] }};
{% endif %}
location / {
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-Host $host;