diff --git a/scripts/upgrade b/scripts/upgrade index 517547d..ac52039 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -91,7 +91,7 @@ if [ ! -f "/var/log/${domain}-access.log" ]; then fi # Create a dedicated Fail2Ban config -ynh_add_fail2ban_config --logpath="/var/log/${domain}-access.log" --failregex=" .* \"GET /api/.*\" 401" --max_retry=5 +ynh_add_fail2ban_config --logpath="/var/log/nginx/${domain}-access.log" --failregex=" .* \"GET /api/.*\" 401" --max_retry=5 #================================================= # SPECIFIC UPGRADE