2020-11-05 13:58:06 +01:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
#=================================================
|
|
|
|
# GENERIC STARTING
|
|
|
|
#=================================================
|
|
|
|
# IMPORT GENERIC HELPERS
|
|
|
|
#=================================================
|
|
|
|
|
2022-06-03 21:36:50 +02:00
|
|
|
source _common.sh
|
2020-11-05 13:58:06 +01:00
|
|
|
source /usr/share/yunohost/helpers
|
|
|
|
|
2022-06-03 21:36:50 +02:00
|
|
|
#=================================================
|
|
|
|
# STANDARD MODIFICATIONS
|
2020-11-05 13:58:06 +01:00
|
|
|
#=================================================
|
|
|
|
# MODIFY URL IN NGINX CONF
|
|
|
|
#=================================================
|
|
|
|
ynh_script_progression --message="Updating NGINX web server configuration..." --weight=3
|
|
|
|
|
2023-10-02 19:37:44 +02:00
|
|
|
ynh_change_url_nginx_config
|
2020-11-05 13:58:06 +01:00
|
|
|
|
|
|
|
#=================================================
|
|
|
|
# END OF SCRIPT
|
|
|
|
#=================================================
|
|
|
|
|
2022-06-03 21:36:50 +02:00
|
|
|
ynh_script_progression --message="Change of URL completed for $app" --last
|