change fail2ban config to template mode

This commit is contained in:
Aliberk Sandıkçı 2024-01-06 13:38:52 +03:00
parent 254df6ea70
commit f2d5c3cef7
Signed by: asandikci
GPG Key ID: 25C67A03B5666BC1
1 changed files with 1 additions and 1 deletions

View File

@ -124,7 +124,7 @@ yunohost service add $app --description="A short description of the app" --log="
ynh_use_logrotate ynh_use_logrotate
# Create a dedicated Fail2Ban config # 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" ynh_add_fail2ban_config --logpath="/var/log/nginx/${domain}-error.log" --failregex="Regex to match into the log for a failed login" -t
#================================================= #=================================================
# APP INITIAL CONFIGURATION # APP INITIAL CONFIGURATION