From 6c56c8e29890a04eff8408b261052d5c58906190 Mon Sep 17 00:00:00 2001 From: kaiyou Date: Sun, 28 Jan 2018 10:35:55 +0100 Subject: [PATCH] Specify the client max body size in the front, related to #371 --- core/nginx/conf/nginx.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/core/nginx/conf/nginx.conf b/core/nginx/conf/nginx.conf index 0ed9aa72..8a8b25f9 100644 --- a/core/nginx/conf/nginx.conf +++ b/core/nginx/conf/nginx.conf @@ -92,6 +92,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 %}