1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/freshrss_ynh.git synced 2024-09-03 18:36:33 +02:00

Update install: stupid typo in fail2ban conf ...

This commit is contained in:
Alexandre Aubin 2024-06-26 00:56:49 +02:00 committed by GitHub
parent 2c01e8a5b3
commit 96b4ebdc63
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -58,7 +58,7 @@ ynh_script_progression --message="Upgrading fail2ban configuration..."
touch "/var/log/${domain}-access.log"
# Create a dedicated Fail2Ban config
ynh_add_fail2ban_config --logpath="/var/log/${domain}-access.log" --failregex="<HOST> .* \"GET /api/.*\" 401" --max_retry=5
ynh_add_fail2ban_config --logpath="/var/log/nginx/${domain}-access.log" --failregex="<HOST> .* \"GET /api/.*\" 401" --max_retry=5
#=================================================
# SPECIFIC SETUP