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:
@ -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;
|
||||
|
Reference in New Issue
Block a user