From de20699580e031e32ac9942528fa4a15b5f13f56 Mon Sep 17 00:00:00 2001 From: Bernd Bestel Date: Thu, 13 Feb 2020 22:29:05 +0100 Subject: [PATCH] Updated recommended nginx try_files directive --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 855b0041..0768d6c0 100644 --- a/README.md +++ b/README.md @@ -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);`).