Update rootfs/etc/nginx/nginx.conf
This commit is contained in:
parent
e989738aa6
commit
2d073376d1
1 changed files with 1 additions and 3 deletions
|
@ -57,9 +57,7 @@ http {
|
||||||
index index.php index.html;
|
index index.php index.html;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
# First attempt to serve request as file, then
|
try_files $uri /index.php$is_args&$args;
|
||||||
# as directory, then fall back to index.php
|
|
||||||
try_files $uri $uri/ /index.php?q=$uri&$args;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# Redirect server error pages to the static page /50x.html
|
# Redirect server error pages to the static page /50x.html
|
||||||
|
|
Loading…
Add table
Reference in a new issue