mirror of
https://github.com/YunoHost-Apps/domoticz_ynh.git
synced 2024-09-03 18:26:17 +02:00
Add api nginx file only if not existing
This commit is contained in:
parent
bba7cff89a
commit
806525ab3f
1 changed files with 1 additions and 1 deletions
|
@ -238,8 +238,8 @@ if [[ ! -f "/etc/nginx/conf.d/"$domain".d/api_"$app".conf" ]]
|
|||
then
|
||||
ynh_print_warn --message="The nginx conf file will now be splitted between standard and api related path"
|
||||
ynh_print_warn --message="Report any manual changes on the new /etc/nginx/conf.d/$domain.d/api_$app.conf file for json command to keep working"
|
||||
ynh_add_config --template="api_nginx.conf" --destination="/etc/nginx/conf.d/"$domain".d/api_"$app".conf"
|
||||
fi
|
||||
ynh_add_config --template="api_nginx.conf" --destination="/etc/nginx/conf.d/"$domain".d/api_"$app".conf"
|
||||
ynh_add_nginx_config
|
||||
|
||||
#=================================================
|
||||
|
|
Loading…
Reference in a new issue