diff --git a/conf/config-dist.php b/conf/config-dist.php index a60dbe0..0f2477e 100644 --- a/conf/config-dist.php +++ b/conf/config-dist.php @@ -42,7 +42,7 @@ Setting('CURRENCY', 'EUR'); # Webserver root directory = /var/www # grocy directory = /var/www/grocy # => BASE_PATH = /grocy -Setting('BASE_PATH', ''); +Setting('BASE_PATH', '/grocy'); # The base url of your installation, # should be just "/" when running directly under the root of a (sub)domain @@ -55,7 +55,7 @@ Setting('BASE_URL', '/'); Setting('STOCK_BARCODE_LOOKUP_PLUGIN', 'DemoBarcodeLookupPlugin'); # If, however, your webserver does not support URL rewriting, set this to true -Setting('DISABLE_URL_REWRITING', true); +Setting('DISABLE_URL_REWRITING', false); # Specify an custom homepage if desired - by default the homepage will be set to the stock overview, # this needs to be one of the following values: diff --git a/conf/nginx.conf b/conf/nginx.conf index 0ab9560..2bdbad7 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -10,7 +10,7 @@ location / { index index.php; - try_files $uri __PATH__/index.php; + #try_files $uri __PATH__/index.php; location ~ [^/]\.php(/|$) { fastcgi_split_path_info ^(.+?\.php)(/.*)$;