mirror of
https://github.com/netfun2000/docker-php-nginx.git
synced 2026-08-13 01:39:32 +08:00
Remove the extra q query param with the request URL
This commit is contained in:
@@ -14,7 +14,7 @@ server {
|
|||||||
location / {
|
location / {
|
||||||
# First attempt to serve request as file, then
|
# First attempt to serve request as file, then
|
||||||
# as directory, then fall back to index.php
|
# as directory, then fall back to index.php
|
||||||
try_files $uri $uri/ /index.php?q=$uri&$args;
|
try_files $uri $uri/ /index.php$is_args$args;
|
||||||
}
|
}
|
||||||
|
|
||||||
# Redirect server error pages to the static page /50x.html
|
# Redirect server error pages to the static page /50x.html
|
||||||
|
|||||||
Reference in New Issue
Block a user