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
94afc89301
commit
c425ee9bf5
4 changed files with 7 additions and 3 deletions
|
@ -49,7 +49,7 @@ MAIL_PASSWORD=null
|
|||
MAIL_ENCRYPTION=null
|
||||
|
||||
# General auth
|
||||
AUTH_METHOD=ldap
|
||||
AUTH_METHOD=standard
|
||||
|
||||
# The LDAP host, Adding a port is optional
|
||||
LDAP_SERVER=ldap://127.0.0.1:389
|
||||
|
@ -68,7 +68,7 @@ LDAP_PASS=false
|
|||
# The user-provided user-name used to replace any occurrences of '${user}'
|
||||
# If you're setting this option via other means, such as within a docker-compose.yml,
|
||||
# you may need escape the $, often using $$ or \$ instead.
|
||||
LDAP_USER_FILTER=(&(uid=${user}))
|
||||
LDAP_USER_FILTER=(&(|(objectclass=posixAccount))(uid={{username}})(permission=cn=__APP__.main,ou=permission,dc=yunohost,dc=org))
|
||||
|
||||
# Set the LDAP version to use when connecting to the server
|
||||
LDAP_VERSION=false
|
||||
|
|
|
@ -9,6 +9,9 @@ location __PATH__/ {
|
|||
rewrite ^ https://$server_name$request_uri? permanent;
|
||||
}
|
||||
|
||||
client_max_body_size 100m;
|
||||
client_body_timeout 120s; # Default is 60, May need to be increased for very large uploads
|
||||
|
||||
index index.php;
|
||||
try_files $uri $uri/ @bookstack;
|
||||
|
||||
|
|
|
@ -49,7 +49,7 @@
|
|||
"en": "Choose the application language",
|
||||
"fr": "Choisissez la langue de l'application"
|
||||
},
|
||||
"choices": ["de", "en", "es", "fr", "it", "pt"],
|
||||
"choices": ["de", "en", "es", "fr", "it", "nl"],
|
||||
"default": "en"
|
||||
},
|
||||
{
|
||||
|
|
|
@ -109,6 +109,7 @@ ynh_replace_string --match_string="__DB_PWD__" --replace_string="$db_pwd" --targ
|
|||
ynh_replace_string --match_string="__DOMAIN__" --replace_string="$domain" --target_file="$final_path/.env"
|
||||
ynh_replace_string --match_string="__PATH__" --replace_string="$path_url" --target_file="$final_path/.env"
|
||||
ynh_replace_string --match_string="__LANGUAGE__" --replace_string="$language" --target_file="$final_path/.env"
|
||||
ynh_replace_string --match_string="__APP__" --replace_string="$app" --target_file="$final_path/.env"
|
||||
|
||||
ynh_store_file_checksum $final_path/.env
|
||||
|
||||
|
|
Loading…
Reference in a new issue