1
0
Fork 0
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:
Salamandar 2023-09-26 20:03:11 +02:00
parent a88ec4c538
commit a3119f8109

View file

@ -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...)