diff --git a/docker/etc/nginx/conf.d/default.conf.disabled b/docker/etc/nginx/conf.d/default.conf.disabled index 5446e6a..4d42813 100644 --- a/docker/etc/nginx/conf.d/default.conf.disabled +++ b/docker/etc/nginx/conf.d/default.conf.disabled @@ -2,6 +2,10 @@ server { server_name _; root /var/www/; + client_max_body_size 256M; + client_body_temp_path /tmp 1 2; + + location / { try_files $uri /index.php$is_args$args; } diff --git a/docker/etc/nginx/conf.d/sf.conf.disabled b/docker/etc/nginx/conf.d/sf.conf.disabled index 8d3ded2..f0b0076 100644 --- a/docker/etc/nginx/conf.d/sf.conf.disabled +++ b/docker/etc/nginx/conf.d/sf.conf.disabled @@ -2,6 +2,9 @@ server { server_name _; root /var/www/public; + client_max_body_size 256M; + client_body_temp_path /tmp 1 2; + location / { # try to serve file directly, fallback to index.php try_files $uri /index.php$is_args$args; diff --git a/docker/etc/nginx/conf.d/sf3.conf.disabled b/docker/etc/nginx/conf.d/sf3.conf.disabled index 2980833..3bfbd59 100644 --- a/docker/etc/nginx/conf.d/sf3.conf.disabled +++ b/docker/etc/nginx/conf.d/sf3.conf.disabled @@ -1,6 +1,9 @@ server { client_max_body_size 108M; + client_max_body_size 256M; + client_body_temp_path /tmp 1 2; + root /var/www/web; rewrite ^/app\.php/?(.*)$ /$1 permanent;