1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/freshrss_ynh.git synced 2024-09-03 18:36:33 +02:00
This commit is contained in:
lapineige 2021-04-20 09:54:06 +02:00 committed by GitHub
parent 8e9addbb9e
commit 507dc5bf7d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -173,7 +173,7 @@ sudo -u $app $final_path/cli/reconfigure.php --default_user $admin --auth_type h
#=================================================
# SETUP FAIL2BAN
#=================================================
ynh_script_progression --message="Adding fail2ban configuration..."
ynh_script_progression --message="Upgrading 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
#=================================================