From 3a363e92437238d91e6b222faee0c5db958b5b57 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Sat, 17 Oct 2020 15:47:47 +0200 Subject: [PATCH] Revert "Update change_url (#102)" (#103) This reverts commit 02c294e66dd8bd2265892cd443ede6c8aeb4fa80. --- scripts/change_url | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/scripts/change_url b/scripts/change_url index 943a253..cae08dd 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -76,17 +76,6 @@ then ynh_store_file_checksum --file="/etc/nginx/conf.d/$new_domain.d/$app.conf" fi -#================================================= -# SETUP FAIL2BAN -#================================================= -ynh_script_progression --message="Configuring Fail2Ban..." --weight=10 - -# Remove the config file with $old_domain -ynh_remove_fail2ban_config - -# Add config file with $new_domain -ynh_add_fail2ban_config --logpath="/var/log/nginx/${new_domain}-error.log" --failregex="^.*authentication failure\" while reading response header from upstream, client: ,.*$" --max_retry=5 - #================================================= # SPECIFIC MODIFICATIONS #=================================================