From ff55a8a696b4a308160bf586e80952fd7c5f93f0 Mon Sep 17 00:00:00 2001 From: Fabian Wilkens Date: Sun, 2 May 2021 11:46:59 +0200 Subject: [PATCH] Re-add variables for now --- scripts/change_url | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/scripts/change_url b/scripts/change_url index 0d9b672..a9b7488 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -95,7 +95,10 @@ then domain="$old_domain" path_url="$new_path" # Create a dedicated nginx config - ynh_add_nginx_config + ynh_add_nginx_config "\ + port \ + access_domain\ + " fi # Change the domain for nginx @@ -149,7 +152,10 @@ domain=$new_domain path_url=$new_path # Create a dedicated fail2ban config touch "/var/log/$app/$app.log" -ynh_add_fail2ban_config --use_template +ynh_add_fail2ban_config --use_template --others_var="\ + domain \ + path_url \ + " #================================================= # GENERIC FINALISATION