1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/grocy_ynh.git synced 2024-09-03 19:25:54 +02:00
This commit is contained in:
ericgaspar 2020-12-16 20:59:24 +01:00
parent 7b6656eb5d
commit 491354951b
No known key found for this signature in database
GPG key ID: 574F281483054D44
2 changed files with 3 additions and 3 deletions

View file

@ -42,7 +42,7 @@ Setting('CURRENCY', 'EUR');
# Webserver root directory = /var/www # Webserver root directory = /var/www
# grocy directory = /var/www/grocy # grocy directory = /var/www/grocy
# => BASE_PATH = /grocy # => BASE_PATH = /grocy
Setting('BASE_PATH', ''); Setting('BASE_PATH', '/grocy');
# The base url of your installation, # The base url of your installation,
# should be just "/" when running directly under the root of a (sub)domain # 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'); Setting('STOCK_BARCODE_LOOKUP_PLUGIN', 'DemoBarcodeLookupPlugin');
# If, however, your webserver does not support URL rewriting, set this to true # 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, # 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: # this needs to be one of the following values:

View file

@ -10,7 +10,7 @@ location / {
index index.php; index index.php;
try_files $uri __PATH__/index.php; #try_files $uri __PATH__/index.php;
location ~ [^/]\.php(/|$) { location ~ [^/]\.php(/|$) {
fastcgi_split_path_info ^(.+?\.php)(/.*)$; fastcgi_split_path_info ^(.+?\.php)(/.*)$;