Merge pull request #502 from hoellen/webmail-messagesize

Use message_size_limit variable from env for webmail client_max_body_size
master
kaiyou 6 years ago committed by GitHub
commit 75a1bf967c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save