1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/baikal_ynh.git synced 2024-09-03 18:16:11 +02:00

fix log file path

This commit is contained in:
Tom Warnke 2023-11-27 21:02:04 +01:00
parent f42957aec8
commit 94c61b071a
No known key found for this signature in database
GPG key ID: 23BEBC549919C003
2 changed files with 2 additions and 2 deletions

View file

@ -68,7 +68,7 @@ ynh_script_progression --message="Configuring fail2ban..." --weight=1
touch "/var/log/${domain}-error.log"
# Create a dedicated fail2ban config
ynh_add_fail2ban_config --logpath="/var/log/${domain}-error.log" --failregex='"PHP message: LDAP Authentication failure" while reading response header from upstream, client: <HOST>'
ynh_add_fail2ban_config --logpath="/var/log/nginx/${domain}-error.log" --failregex='"PHP message: LDAP Authentication failure" while reading response header from upstream, client: <HOST>'
#=================================================
# SPECIFIC SETUP

View file

@ -51,7 +51,7 @@ ynh_script_progression --message="Upgrading fail2ban configuration..." --weight=
touch "/var/log/${domain}-error.log"
# Create a dedicated fail2ban config
ynh_add_fail2ban_config --logpath="/var/log/${domain}-error.log" --failregex='"PHP message: LDAP Authentication failure" while reading response header from upstream, client: <HOST>'
ynh_add_fail2ban_config --logpath="/var/log/nginx/${domain}-error.log" --failregex='"PHP message: LDAP Authentication failure" while reading response header from upstream, client: <HOST>'
#=================================================
# SPECIFIC UPGRADE