Fix for nginx and _url issue

[admin#1244](https://github.com/getgrav/grav-plugin-admin/issues/1244)
This commit is contained in:
Andy Miller
2017-10-12 12:23:49 -06:00
parent f37c08f341
commit 474ca513ae
2 changed files with 3 additions and 2 deletions

View File

@@ -2,7 +2,8 @@
## mm/dd/2017
1. [](#bugfix)
* Regression: Ajax error in ngnix (#1244)
* Regression: Ajax error in Nginx [admin#1244](https://github.com/getgrav/grav-plugin-admin/issues/1244)
* Remove the `_url=$uri` portion of the the nginx `try_files` command [admin#1244](https://github.com/getgrav/grav-plugin-admin/issues/1244)
# v1.3.5
## 10/11/2017

View File

@@ -12,7 +12,7 @@ server {
# `location /subfolder {`
# and the rewrite to use `/subfolder/index.php`
location / {
try_files $uri $uri/ /index.php?_url=$uri&$query_string;
try_files $uri $uri/ /index.php?$query_string;
}
## End - Index