1
0
mirror of https://github.com/Mailu/Mailu.git synced 2025-02-11 13:25:44 +02:00

Merge pull request #502 from hoellen/webmail-messagesize

Use message_size_limit variable from env for webmail client_max_body_size
This commit is contained in:
kaiyou 2018-06-28 21:29:30 +02:00 committed by GitHub
commit 75a1bf967c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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