2021-04-01 12:47:58 +02:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
#=================================================
|
|
|
|
# GENERIC STARTING
|
|
|
|
#=================================================
|
|
|
|
# IMPORT GENERIC HELPERS
|
|
|
|
#=================================================
|
|
|
|
|
|
|
|
source _common.sh
|
|
|
|
source /usr/share/yunohost/helpers
|
|
|
|
|
2023-10-03 13:52:00 +02:00
|
|
|
#=================================================
|
|
|
|
# STANDARD MODIFICATIONS
|
2021-04-01 12:47:58 +02:00
|
|
|
#=================================================
|
|
|
|
# MODIFY URL IN NGINX CONF
|
|
|
|
#=================================================
|
2023-10-03 13:52:00 +02:00
|
|
|
ynh_script_progression --message="Updating NGINX web server configuration..." --weight=3
|
2021-04-01 12:47:58 +02:00
|
|
|
|
2023-10-02 22:06:16 +02:00
|
|
|
ynh_change_url_nginx_config
|
2021-04-01 12:47:58 +02:00
|
|
|
|
|
|
|
#=================================================
|
|
|
|
# END OF SCRIPT
|
|
|
|
#=================================================
|
|
|
|
|
2021-04-01 13:10:22 +02:00
|
|
|
ynh_script_progression --message="Change of URL completed for $app" --last
|