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

(cherry picked from commit 6c56c8e298)
This commit is contained in:
kaiyou
2018-01-28 10:35:55 +01:00
parent 449af8eb0b
commit 2b144bc574

View File

@@ -78,6 +78,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 %}