Specify the client max body size in the front, related to #371

master
kaiyou 7 years ago
parent 8cee04dbcc
commit 6c56c8e298

@ -92,6 +92,7 @@ http {
rewrite ^({{ WEB_WEBMAIL }})$ $1/ permanent; rewrite ^({{ WEB_WEBMAIL }})$ $1/ permanent;
rewrite ^{{ WEB_WEBMAIL }}/(.*) /$1 break; rewrite ^{{ WEB_WEBMAIL }}/(.*) /$1 break;
include /etc/nginx/proxy.conf; include /etc/nginx/proxy.conf;
client_max_body_size 30M;
proxy_pass http://$webmail; proxy_pass http://$webmail;
} }
{% endif %} {% endif %}

Loading…
Cancel
Save