mirror of
https://github.com/netfun2000/docker-php-nginx.git
synced 2026-04-21 16:18:59 +08:00
Remove the extra q query param with the request URL
This commit is contained in:
@@ -14,7 +14,7 @@ server {
|
||||
location / {
|
||||
# First attempt to serve request as file, then
|
||||
# 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
|
||||
|
||||
Reference in New Issue
Block a user