1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/13ft_ynh.git synced 2024-09-03 18:06:03 +02:00

cleanup fail2ban

This commit is contained in:
lapineige 2022-12-20 16:15:41 +01:00 committed by GitHub
parent 6970c494b9
commit 04a2fe6b80
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -182,14 +182,6 @@ ynh_script_progression --message="Starting a systemd service..." --weight=1
ynh_systemd_action --service_name=$app --action="start" --log_path="/var/log/$app/$app.log"
#=================================================
# UPGRADE FAIL2BAN
#=================================================
ynh_script_progression --message="Reconfiguring Fail2Ban..." --weight=1
# Create a dedicated Fail2Ban config
ynh_add_fail2ban_config --logpath="/var/log/nginx/${domain}-error.log" --failregex="Regex to match into the log for a failed login"
#=================================================
# RELOAD NGINX
#=================================================