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:
parent
973ece4e33
commit
ff55a8a696
1 changed files with 8 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue