update nginx php query parameter handling
* replace /index.php?$args with /index.php$is_args$args according to WP 5.0 rest api faq
This commit is contained in:
@@ -9,7 +9,7 @@ location = /favicon.ico {
|
||||
location = /robots.txt {
|
||||
# Some WordPress plugin gererate robots.txt file
|
||||
# Refer #340 issue
|
||||
try_files $uri $uri/ /index.php?$args @robots;
|
||||
try_files $uri $uri/ /index.php$is_args$args @robots;
|
||||
access_log off;
|
||||
log_not_found off;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user