From 2b144bc574d798009d270677660ed41b480f748d 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 (cherry picked from commit 6c56c8e29890a04eff8408b261052d5c58906190) --- 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 0014b01..f2130d8 100644 --- a/core/nginx/conf/nginx.conf +++ b/core/nginx/conf/nginx.conf @@ -78,6 +78,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 %}