1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/synapse_ynh.git synced 2024-09-03 20:26:38 +02:00

remove server_name's nginx conf

remove /etc/nginx/conf.d/${server_name}.d/server_name.conf
This commit is contained in:
Thatoo 2019-08-03 23:39:46 +02:00 committed by GitHub
parent 762ab7ad8a
commit b3e5b2dacc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -28,6 +28,7 @@ upstream_version=$(ynh_app_upstream_version)
#================================================= #=================================================
domain=$(ynh_app_setting_get $app special_domain) domain=$(ynh_app_setting_get $app special_domain)
server_name=$(ynh_app_setting_get $app server_name)
final_path=$(ynh_app_setting_get $app final_path) final_path=$(ynh_app_setting_get $app final_path)
synapse_tls_port=$(ynh_app_setting_get $app synapse_tls_port) synapse_tls_port=$(ynh_app_setting_get $app synapse_tls_port)
turnserver_tls_port=$(ynh_app_setting_get $app turnserver_tls_port) turnserver_tls_port=$(ynh_app_setting_get $app turnserver_tls_port)
@ -82,6 +83,7 @@ ynh_secure_remove /var/log/matrix-$app
ynh_secure_remove /etc/matrix-$app ynh_secure_remove /etc/matrix-$app
ynh_secure_remove /etc/default/matrix-$app ynh_secure_remove /etc/default/matrix-$app
ynh_secure_remove /etc/default/coturn-$app ynh_secure_remove /etc/default/coturn-$app
ynh_secure_remove /etc/nginx/conf.d/${server_name}.d/server_name.conf
#================================================= #=================================================
# REMOVE NGINX CONFIGURATION # REMOVE NGINX CONFIGURATION