2017-07-26 09:39:09 +02:00
|
|
|
#!/bin/bash
|
|
|
|
|
2018-06-27 17:21:59 +02:00
|
|
|
#=================================================
|
|
|
|
# GENERIC STARTING
|
|
|
|
#=================================================
|
|
|
|
# IMPORT GENERIC HELPERS
|
|
|
|
#=================================================
|
|
|
|
|
|
|
|
source _common.sh
|
2017-07-26 09:39:09 +02:00
|
|
|
source /usr/share/yunohost/helpers
|
|
|
|
|
2018-06-27 17:21:59 +02:00
|
|
|
#=================================================
|
2017-07-26 09:39:09 +02:00
|
|
|
# STANDARD MODIFICATIONS
|
2018-06-27 17:21:59 +02:00
|
|
|
#=================================================
|
2017-07-26 09:39:09 +02:00
|
|
|
# MODIFY URL IN NGINX CONF
|
2018-06-27 17:21:59 +02:00
|
|
|
#=================================================
|
2020-10-12 20:47:58 +02:00
|
|
|
ynh_script_progression --message="Updating NGINX web server configuration..." --weight=3
|
2018-06-27 17:21:59 +02:00
|
|
|
|
2023-04-21 16:39:32 +02:00
|
|
|
ynh_change_url_nginx_config
|
2020-04-26 00:47:07 +02:00
|
|
|
|
|
|
|
#=================================================
|
|
|
|
# END OF SCRIPT
|
|
|
|
#=================================================
|
2018-06-27 17:21:59 +02:00
|
|
|
|
2021-11-20 22:30:25 +01:00
|
|
|
ynh_script_progression --message="Change of URL completed for $app" --last
|