2019-05-06 13:18:54 +02:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
#=================================================
|
|
|
|
# GENERIC STARTING
|
|
|
|
#=================================================
|
|
|
|
# IMPORT GENERIC HELPERS
|
|
|
|
#=================================================
|
|
|
|
|
2020-05-28 02:23:15 +02:00
|
|
|
source _common.sh
|
2019-05-06 13:18:54 +02:00
|
|
|
source /usr/share/yunohost/helpers
|
|
|
|
|
|
|
|
#=================================================
|
|
|
|
# STANDARD MODIFICATIONS
|
|
|
|
#=================================================
|
|
|
|
# MODIFY URL IN NGINX CONF
|
|
|
|
#=================================================
|
2020-12-06 12:36:06 +01:00
|
|
|
ynh_script_progression --message="Updating NGINX web server configuration..." --weight=2
|
2019-05-06 13:18:54 +02:00
|
|
|
|
2023-06-09 10:32:45 +02:00
|
|
|
ynh_change_url_nginx_config
|
2019-05-06 13:18:54 +02:00
|
|
|
|
|
|
|
#=================================================
|
|
|
|
# END OF SCRIPT
|
|
|
|
#=================================================
|
|
|
|
|
|
|
|
ynh_script_progression --message="Change of URL completed for $app" --last
|