2020-06-04 00:20:50 +02:00
|
|
|
#!/bin/bash
|
|
|
|
|
2020-06-03 23:41:51 +02:00
|
|
|
#=================================================
|
|
|
|
# IMPORT GENERIC HELPERS
|
|
|
|
#=================================================
|
|
|
|
|
2020-06-15 01:58:37 +02:00
|
|
|
source _common.sh
|
2020-06-03 23:41:51 +02:00
|
|
|
source /usr/share/yunohost/helpers
|
|
|
|
|
|
|
|
#=================================================
|
|
|
|
# MODIFY URL IN NGINX CONF
|
|
|
|
#=================================================
|
2024-02-28 21:07:14 +01:00
|
|
|
ynh_script_progression --message="Updating NGINX web server configuration..." --weight=1
|
2020-06-03 23:41:51 +02:00
|
|
|
|
2024-02-28 21:07:14 +01:00
|
|
|
# this will most likely adjust NGINX config correctly
|
|
|
|
ynh_change_url_nginx_config
|
2020-06-03 23:41:51 +02:00
|
|
|
|
|
|
|
#=================================================
|
|
|
|
# END OF SCRIPT
|
|
|
|
#=================================================
|
|
|
|
|
2020-06-05 23:31:23 +02:00
|
|
|
ynh_script_progression --message="Change of URL completed for $app"
|