From 111ff6b7377f571a2e8364dd0659e7cbe2c186e9 Mon Sep 17 00:00:00 2001 From: mkee Date: Thu, 30 Jul 2026 04:27:06 +0000 Subject: [PATCH] Update build/run/installer.sh Move nginx client_max_body_size directive to from location to server block. --- build/run/installer.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/build/run/installer.sh b/build/run/installer.sh index a6433a6..ebd59fc 100755 --- a/build/run/installer.sh +++ b/build/run/installer.sh @@ -445,6 +445,7 @@ server { access_log /var/log/nginx/roundcube_access.log; root /usr/share/webapps/roundcube/public_html; + client_max_body_size 0; # Add trailing slash to URI location /admin { @@ -463,8 +464,6 @@ server { } location ~ \.php { - client_max_body_size 0; - include fastcgi_params; fastcgi_index index.php; fastcgi_split_path_info ^(.+\.php)(/.+)$;