1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/domoticz_ynh.git synced 2024-09-03 18:26:17 +02:00

Update scripts/change_url

Co-authored-by: Tagada <36127788+Tagadda@users.noreply.github.com>
This commit is contained in:
Krakinou 2022-12-17 11:12:04 +01:00 committed by GitHub
parent 193618d5dd
commit 42ca3528e5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -87,7 +87,7 @@ ynh_systemd_action --service_name=$app --action="stop" --log_path="/var/log/$app
ynh_script_progression --message="Updating NGINX web server configuration..."
nginx_conf_path=/etc/nginx/conf.d/$old_domain.d/$app.conf
nginx_api_conf_path=/etc/nginx/conf.d/$domain.d/api_$app.conf
nginx_api_conf_path=/etc/nginx/conf.d/$old_domain.d/api_$app.conf
# Change the path in the NGINX config file
if [ $change_path -eq 1 ]