This commit is contained in:
parent
1c6458abb6
commit
412caa24be
@ -2,6 +2,10 @@ server {
|
|||||||
server_name _;
|
server_name _;
|
||||||
root /var/www/;
|
root /var/www/;
|
||||||
|
|
||||||
|
client_max_body_size 256M;
|
||||||
|
client_body_temp_path /tmp 1 2;
|
||||||
|
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
try_files $uri /index.php$is_args$args;
|
try_files $uri /index.php$is_args$args;
|
||||||
}
|
}
|
||||||
|
@ -2,6 +2,9 @@ server {
|
|||||||
server_name _;
|
server_name _;
|
||||||
root /var/www/public;
|
root /var/www/public;
|
||||||
|
|
||||||
|
client_max_body_size 256M;
|
||||||
|
client_body_temp_path /tmp 1 2;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
# try to serve file directly, fallback to index.php
|
# try to serve file directly, fallback to index.php
|
||||||
try_files $uri /index.php$is_args$args;
|
try_files $uri /index.php$is_args$args;
|
||||||
|
@ -1,6 +1,9 @@
|
|||||||
server {
|
server {
|
||||||
client_max_body_size 108M;
|
client_max_body_size 108M;
|
||||||
|
|
||||||
|
client_max_body_size 256M;
|
||||||
|
client_body_temp_path /tmp 1 2;
|
||||||
|
|
||||||
root /var/www/web;
|
root /var/www/web;
|
||||||
|
|
||||||
rewrite ^/app\.php/?(.*)$ /$1 permanent;
|
rewrite ^/app\.php/?(.*)$ /$1 permanent;
|
||||||
|
Loading…
Reference in New Issue
Block a user