support php for nested routes
This commit is contained in:
parent
48724219b3
commit
a0929f0059
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ server {
|
||||||
index index.php index.html index.htm;
|
index index.php index.html index.htm;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
try_files $uri $uri/ index.php$is_args$args;
|
try_files $uri $uri/ /index.php$is_args$args;
|
||||||
}
|
}
|
||||||
|
|
||||||
location ~ \.php$ {
|
location ~ \.php$ {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue