mirror of
https://github.com/YunoHost-Apps/httpsh_ynh.git
synced 2024-09-03 19:25:55 +02:00
Fix fail2ban on upgrade
This commit is contained in:
parent
a88ec4c538
commit
a3119f8109
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ yunohost service add "$app" --description="httpsh on ttyd web terminal" --log="/
|
|||
|
||||
ynh_use_logrotate --non-append
|
||||
|
||||
ynh_add_fail2ban_config --logpath="/var/log/nginx/${domain}-error.log" --failregex="Regex to match into the log for a failed login"
|
||||
ynh_add_fail2ban_config --logpath="/var/log/$app/$app.log" --failregex="^error: maximum authentication attempts exceeded for <F-USER>.*</F-USER> from <HOST>$"
|
||||
|
||||
#=================================================
|
||||
# RECONFIGURE THE APP (UPDATE CONF, APPLY MIGRATIONS...)
|
||||
|
|
Loading…
Add table
Reference in a new issue