mirror of
https://github.com/YunoHost-Apps/grocy_ynh.git
synced 2024-09-03 19:25:54 +02:00
sub path
This commit is contained in:
parent
7b6656eb5d
commit
491354951b
2 changed files with 3 additions and 3 deletions
|
@ -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:
|
||||
|
|
|
@ -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)(/.*)$;
|
||||
|
|
Loading…
Reference in a new issue