1
0
mirror of https://github.com/Mailu/Mailu.git synced 2025-04-11 11:32:02 +02:00

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

This commit is contained in:
kaiyou 2018-01-28 10:35:55 +01:00
parent 8cee04dbcc
commit 6c56c8e298

View File

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