diff --git a/scripts/install b/scripts/install index e4d676d..d9ba7fc 100644 --- a/scripts/install +++ b/scripts/install @@ -61,7 +61,7 @@ ynh_add_nginx_config ynh_script_progression --message="Configuring fail2ban..." --weight=1 # Create the logfile, required before configuring fail2ban -touch "/var/log/${domain}-error.log" +touch "/var/log/nginx/${domain}-error.log" # Create a dedicated fail2ban config ynh_add_fail2ban_config --logpath="/var/log/nginx/${domain}-error.log" --failregex='"PHP message: user \(name stripped-out\) authentication failure for Baikal" while reading response header from upstream, client: '