1
0
mirror of https://github.com/Mailu/Mailu.git synced 2025-07-17 01:32:29 +02:00

Use message_size variable from env for webmail

This commit is contained in:
hoellen
2018-06-25 15:51:20 +02:00
parent 50f2ea66c8
commit 81a6a7cbf6

View File

@ -92,7 +92,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 }};
proxy_pass http://$webmail;
}
{% endif %}