mirror of
https://github.com/YunoHost-Apps/bookstack_ynh.git
synced 2024-09-03 18:16:02 +02:00
Fix
This commit is contained in:
parent
34cc24cf73
commit
68174b3f32
3 changed files with 8 additions and 9 deletions
|
@ -10,10 +10,9 @@ location __PATH__/ {
|
|||
}
|
||||
|
||||
index index.php;
|
||||
#try_files $uri $uri/ @bookstack;
|
||||
|
||||
try_files $uri $uri/ /index.php?$query_string;
|
||||
try_files $uri $uri/ @bookstack;
|
||||
|
||||
#try_files $uri $uri/ index.php;
|
||||
location ~ [^/]\.php(/|$) {
|
||||
fastcgi_split_path_info ^(.+?\.php)(/.*)$;
|
||||
fastcgi_pass unix:/var/run/php/php__PHPVERSION__-fpm-__NAME__.sock;
|
||||
|
@ -28,6 +27,6 @@ location __PATH__/ {
|
|||
include conf.d/yunohost_panel.conf.inc;
|
||||
}
|
||||
|
||||
#location @bookstack {
|
||||
# rewrite ^__PATH__/(.*)$ __PATH__/index.php?/$1 last;
|
||||
#}
|
||||
location @bookstack {
|
||||
rewrite ^__PATH__/(.*)$ __PATH__/index.php?/$1 last;
|
||||
}
|
||||
|
|
|
@ -39,8 +39,8 @@
|
|||
"en": "Choose a path for BookStack",
|
||||
"fr": "Choisissez un chemin pour BookStack"
|
||||
},
|
||||
"example": "/",
|
||||
"default": "/"
|
||||
"example": "/bookstack",
|
||||
"default": "/bookstack"
|
||||
},
|
||||
{
|
||||
"name": "language",
|
||||
|
|
|
@ -21,7 +21,7 @@ ynh_abort_if_errors
|
|||
|
||||
# Retrieve arguments
|
||||
domain=$YNH_APP_ARG_DOMAIN
|
||||
path_url="/"
|
||||
path_url=$YNH_APP_ARG_PATH
|
||||
is_public=$YNH_APP_ARG_IS_PUBLIC
|
||||
language=$YNH_APP_ARG_LANGUAGE
|
||||
|
||||
|
|
Loading…
Reference in a new issue