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

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 %}