mirror of
https://git.myvelabs.com/docker/myvemail.git
synced 2026-08-16 12:54:19 +00:00
Update build/run/installer.sh
Move nginx client_max_body_size directive to from location to server block.
This commit is contained in:
parent
5b9c9d68ad
commit
111ff6b737
1 changed files with 1 additions and 2 deletions
|
|
@ -445,6 +445,7 @@ server {
|
||||||
access_log /var/log/nginx/roundcube_access.log;
|
access_log /var/log/nginx/roundcube_access.log;
|
||||||
|
|
||||||
root /usr/share/webapps/roundcube/public_html;
|
root /usr/share/webapps/roundcube/public_html;
|
||||||
|
client_max_body_size 0;
|
||||||
|
|
||||||
# Add trailing slash to URI
|
# Add trailing slash to URI
|
||||||
location /admin {
|
location /admin {
|
||||||
|
|
@ -463,8 +464,6 @@ server {
|
||||||
}
|
}
|
||||||
|
|
||||||
location ~ \.php {
|
location ~ \.php {
|
||||||
client_max_body_size 0;
|
|
||||||
|
|
||||||
include fastcgi_params;
|
include fastcgi_params;
|
||||||
fastcgi_index index.php;
|
fastcgi_index index.php;
|
||||||
fastcgi_split_path_info ^(.+\.php)(/.+)$;
|
fastcgi_split_path_info ^(.+\.php)(/.+)$;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue