2021-07-12 13:50:43 +02:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
#=================================================
|
|
|
|
# GENERIC STARTING
|
|
|
|
#=================================================
|
|
|
|
# IMPORT GENERIC HELPERS
|
|
|
|
#=================================================
|
|
|
|
|
|
|
|
source _common.sh
|
|
|
|
source /usr/share/yunohost/helpers
|
|
|
|
|
2022-06-15 23:45:27 +02:00
|
|
|
#=================================================
|
|
|
|
# STANDARD MODIFICATIONS
|
2021-07-12 13:50:43 +02:00
|
|
|
#=================================================
|
|
|
|
# MODIFY URL IN NGINX CONF
|
|
|
|
#=================================================
|
2021-07-12 14:06:32 +02:00
|
|
|
ynh_script_progression --message="Updating NGINX web server configuration..." --weight=1
|
2021-07-12 13:50:43 +02:00
|
|
|
|
2024-01-23 16:40:33 +01:00
|
|
|
ynh_change_url_nginx_config
|
2021-07-12 13:50:43 +02:00
|
|
|
|
|
|
|
#=================================================
|
|
|
|
# END OF SCRIPT
|
|
|
|
#=================================================
|
|
|
|
|
2021-07-12 14:06:32 +02:00
|
|
|
ynh_script_progression --message="Change of URL completed for $app" --last
|