mirror of
https://github.com/YunoHost-Apps/lstu_ynh.git
synced 2024-09-03 19:36:12 +02:00
Update lstu.conf.template
This commit is contained in:
parent
a108a54bd9
commit
3fc7417c04
1 changed files with 11 additions and 2 deletions
|
@ -31,6 +31,11 @@
|
||||||
# optional, but you won't have access to admin /stats if not set and if adminpwd is not set either
|
# optional, but you won't have access to admin /stats if not set and if adminpwd is not set either
|
||||||
hashed_adminpwd => '__HASHED_PASSWORD__',
|
hashed_adminpwd => '__HASHED_PASSWORD__',
|
||||||
|
|
||||||
|
# indicates if you want to really delete URLs from admin page (/stats)
|
||||||
|
# or just want to deactivate the shorten URL (won’t redirect anymore, can’t be used anymore)
|
||||||
|
# optional, default to 0 (false)
|
||||||
|
#really_delete_urls => 0,
|
||||||
|
|
||||||
# choose a theme. See the available themes in `themes` directory
|
# choose a theme. See the available themes in `themes` directory
|
||||||
# optional, default is 'default'
|
# optional, default is 'default'
|
||||||
theme => '__THEME__', # default or milligram
|
theme => '__THEME__', # default or milligram
|
||||||
|
@ -66,6 +71,10 @@
|
||||||
# optional
|
# optional
|
||||||
#fixed_domain => 'example.org',
|
#fixed_domain => 'example.org',
|
||||||
|
|
||||||
|
# if set to 1, Lstu will try to prevent its use without using the web interface
|
||||||
|
# optional, default is 0
|
||||||
|
#disable_api => 0,
|
||||||
|
|
||||||
# choose what database you want to use
|
# choose what database you want to use
|
||||||
# valid choices are sqlite, postgresql and mysql (all lowercase)
|
# valid choices are sqlite, postgresql and mysql (all lowercase)
|
||||||
# optional, default is sqlite
|
# optional, default is sqlite
|
||||||
|
@ -179,12 +188,12 @@
|
||||||
# please note that everybody can still use shortend URLs
|
# please note that everybody can still use shortend URLs
|
||||||
# optional, no default
|
# optional, no default
|
||||||
#ldap => {
|
#ldap => {
|
||||||
# uri => 'ldap://localhost:389', # server URI
|
# uri => 'ldap://localhost:389', # server URI
|
||||||
# user_tree => 'dc=yunohost,dc=org', # search base DN
|
# user_tree => 'dc=yunohost,dc=org', # search base DN
|
||||||
# bind_dn => 'ou=users,dc=yunohost,dc=org', # search bind DN
|
# bind_dn => 'ou=users,dc=yunohost,dc=org', # search bind DN
|
||||||
# bind_pwd => '', # search bind password
|
# bind_pwd => '', # search bind password
|
||||||
# user_attr => 'uid', # user attribute (uid, mail, sAMAccountName, etc.)
|
# user_attr => 'uid', # user attribute (uid, mail, sAMAccountName, etc.)
|
||||||
# user_filter => '(!(uid=ldap_user))', # user filter (to exclude some users, etc.)
|
# user_filter => '(!(uid=ldap_user))', # user filter (to exclude some users, etc.)
|
||||||
#},
|
#},
|
||||||
|
|
||||||
# set `htpasswd` if you want to use an htpasswd file instead of ldap
|
# set `htpasswd` if you want to use an htpasswd file instead of ldap
|
||||||
|
|
Loading…
Reference in a new issue