This commit is contained in:
parent
1c6458abb6
commit
412caa24be
@ -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;
|
||||
}
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user