2021-05-10 15:15:42 +02:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
#=================================================
|
|
|
|
# GENERIC STARTING
|
|
|
|
#=================================================
|
|
|
|
# IMPORT GENERIC HELPERS
|
|
|
|
#=================================================
|
|
|
|
|
|
|
|
source _common.sh
|
|
|
|
source /usr/share/yunohost/helpers
|
|
|
|
|
2024-01-08 12:11:02 +01:00
|
|
|
#=================================================
|
|
|
|
# UPDATE SYNAPSE ENDPOINT
|
|
|
|
#=================================================
|
|
|
|
ynh_script_progression --message="Updating NGINX web server configuration for Synapse..." --weight=2
|
|
|
|
|
|
|
|
_update_synapse_nginx_config
|
|
|
|
|
2021-05-10 15:15:42 +02:00
|
|
|
#=================================================
|
|
|
|
# MODIFY URL IN NGINX CONF
|
|
|
|
#=================================================
|
2024-01-07 20:58:17 +01:00
|
|
|
ynh_script_progression --message="Updating NGINX web server configuration..." --weight=1
|
2021-05-10 15:15:42 +02:00
|
|
|
|
2024-01-07 20:58:17 +01:00
|
|
|
ynh_change_url_nginx_config
|
2021-05-10 15:15:42 +02:00
|
|
|
|
|
|
|
#=================================================
|
|
|
|
# END OF SCRIPT
|
|
|
|
#=================================================
|
|
|
|
|
|
|
|
ynh_script_progression --message="Change of URL completed for $app" --last
|