1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/bookstack_ynh.git synced 2024-09-03 18:16:02 +02:00

Fix multi install

This commit is contained in:
tituspijean 2021-01-31 16:57:50 +01:00
parent 83f3363548
commit bf105f661f

View file

@ -13,7 +13,7 @@ location __PATH__/ {
client_body_timeout 120s; # Default is 60, May need to be increased for very large uploads client_body_timeout 120s; # Default is 60, May need to be increased for very large uploads
index index.php; index index.php;
try_files $uri $uri/ @bookstack; try_files $uri $uri/ @__NAME__;
#try_files $uri $uri/ index.php; #try_files $uri $uri/ index.php;
location ~ [^/]\.php(/|$) { location ~ [^/]\.php(/|$) {
@ -30,6 +30,6 @@ location __PATH__/ {
include conf.d/yunohost_panel.conf.inc; include conf.d/yunohost_panel.conf.inc;
} }
location @bookstack { location @__NAME__ {
rewrite ^__PATH__/(.*)$ __PATH__/index.php?/$1 last; rewrite ^__PATH__/(.*)$ __PATH__/index.php?/$1 last;
} }