1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/snserver_ynh.git synced 2024-09-03 20:26:22 +02:00

Re-add variables for now

This commit is contained in:
Fabian Wilkens 2021-05-02 11:46:59 +02:00
parent 973ece4e33
commit ff55a8a696
No known key found for this signature in database
GPG key ID: 23DFA025BB4E9FAB

View file

@ -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