mirror of
https://github.com/YunoHost-Apps/dex_ynh.git
synced 2024-09-03 18:26:22 +02:00
Fine tuning
This commit is contained in:
parent
b24ec9e6a4
commit
9ec55ac60f
2 changed files with 9 additions and 7 deletions
|
@ -1,5 +1,5 @@
|
|||
# LDAP connector + Yunohost setup + staticClient as per manifest.json
|
||||
issuer: https://__DOMAIN__/__PATH_URL__
|
||||
issuer: https://__DOMAIN____PATH_URL__
|
||||
storage:
|
||||
type: sqlite3
|
||||
config:
|
||||
|
@ -43,6 +43,7 @@ connectors:
|
|||
staticClients:
|
||||
- id: __OIDC_NAME__
|
||||
redirectURIs:
|
||||
- '__OIDC_CALLBACK__'
|
||||
name: '__OIDC_NAME__'
|
||||
secret: __OIDC_SECRET__
|
||||
- __OIDC_CALLBACK__
|
||||
name: __OIDC_NAME__
|
||||
secret: __OIDC_SECRET__
|
||||
|
|
@ -138,7 +138,7 @@ chown $app:$app "$final_path/config.yaml"
|
|||
#=================================================
|
||||
ynh_script_progression --message="Configuring a systemd service..." --time --weight=1
|
||||
|
||||
#TOREMOVE ynh_add_systemd_config
|
||||
ynh_add_systemd_config
|
||||
|
||||
|
||||
#=================================================
|
||||
|
@ -164,7 +164,7 @@ yunohost service add $app --description="OpenID Connect Provider" --log="/var/lo
|
|||
ynh_script_progression --message="Starting a systemd service..." --time --weight=1
|
||||
|
||||
# Start a systemd service
|
||||
#TOREMOVE ynh_systemd_action --service_name=$app --action="start" --log_path="/var/log/$app/$app.log"
|
||||
ynh_systemd_action --service_name=$app --action="start" --log_path="/var/log/$app/$app.log"
|
||||
|
||||
#=================================================
|
||||
# SETUP FAIL2BAN
|
||||
|
@ -172,7 +172,8 @@ ynh_script_progression --message="Starting a systemd service..." --time --weight
|
|||
ynh_script_progression --message="Configuring Fail2Ban..." --time --weight=1
|
||||
|
||||
# Create a dedicated Fail2Ban config
|
||||
#TOREMOVE ynh_add_fail2ban_config --logpath="/var/log/nginx/${domain}-error.log" --failregex="Regex to match into the log for a failed login"
|
||||
### FIX ME
|
||||
# ynh_add_fail2ban_config --logpath="/var/log/nginx/${domain}-error.log" --failregex="Regex to match into the log for a failed login"
|
||||
|
||||
#=================================================
|
||||
# SETUP SSOWAT
|
||||
|
|
Loading…
Add table
Reference in a new issue