Updated nginx configuration

This commit is contained in:
Andy Miller
2016-06-03 11:21:35 -06:00
parent ef456888f8
commit baacfa794a
2 changed files with 2 additions and 2 deletions

View File

@@ -5,6 +5,7 @@
* Added getters and setters for Assets to allow manipulation of CSS/JS/Collection based assets via plugins [#876](https://github.com/getgrav/grav/issues/876)
1. [](#improved)
* Moved list items in `system/config/media.yaml` config into a `types:` key which allows you delete default items.
* Updated `webserver-configs/nginx.conf` with `try_files` fix from @mrhein and @rondlite [#743](https://github.com/getgrav/grav/pull/743)
# v1.1.0-rc.1
## 06/01/2016

View File

@@ -12,8 +12,7 @@ server {
# `location /subfolder {`
# and the rewrite to use `/subfolder/index.php`
location / {
try_files $uri $uri/ /index.html;
if (!-e $request_filename){ rewrite ^(.*)$ /index.php last; }
location / { try_files $uri $uri/ /index.php?_url=$uri; }
}
## End - Index