Updated recommended nginx try_files directive

This commit is contained in:
Bernd Bestel 2020-02-13 22:29:05 +01:00
parent c58b396a55
commit de20699580
No known key found for this signature in database
GPG Key ID: 71BD34C0D4891300

View File

@ -23,7 +23,7 @@ Just unpack the [latest release](https://releases.grocy.info/latest) on your PHP
Alternatively clone this repository and install Composer and Yarn dependencies manually.
If you use nginx as your webserver, please include `try_files $uri /index.php;` in your location block.
If you use nginx as your webserver, please include `try_files $uri /index.php$is_args$query_string;` in your location block.
If, however, your webserver does not support URL rewriting, set `DISABLE_URL_REWRITING` in `data/config.php` (`Setting('DISABLE_URL_REWRITING', true);`).