mirror of
https://github.com/YunoHost-Apps/freshrss_ynh.git
synced 2024-09-03 18:36:33 +02:00
Print progression (fail2ban)
This commit is contained in:
parent
1067070e02
commit
f5b50f41bb
1 changed files with 1 additions and 1 deletions
|
@ -138,7 +138,7 @@ chmod 644 "$cron_path"
|
|||
#=================================================
|
||||
# SETUP FAIL2BAN
|
||||
#=================================================
|
||||
|
||||
ynh_script_progression --message="Adding fail2ban configuration..."
|
||||
ynh_add_fail2ban_config_temp "/var/log/nginx/$domain-access.log" ".* - - .*\/api\/[a-z]*(.php)\/accounts\/ClientLogin\?Email=[a-z]*&Passwd=[a-z]* HTTP.* 401 .*" 12 # 10 retries should be enough to permit some tests with (for instance) an app client
|
||||
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue