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:
VirtuBox
2019-02-25 07:47:36 +01:00
parent 4b58114eef
commit eb6f183f05
12 changed files with 12 additions and 12 deletions

View File

@@ -1,7 +1,7 @@
# PHP NGINX CONFIGURATION
# DO NOT MODIFY, ALL CHANGES WILL BE LOST AFTER AN WordOps (wo) UPDATE
location / {
try_files $uri $uri/ /index.php?$args;
try_files $uri $uri/ /index.php$is_args$args;
}
location ~ \.php$ {
try_files $uri =404;