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

move .well-known redirection to config section

move #Create .well-known redirection for access by federation to end of config section
This commit is contained in:
Thatoo 2019-11-11 12:21:27 +01:00 committed by GitHub
parent 11f9197a58
commit 4aae628bbe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -226,12 +226,6 @@ ynh_app_setting_set --app=$app --key=registration_shared_secret --value="$regist
ynh_app_setting_set --app=$app --key=form_secret --value="$form_secret"
ynh_print_ON
# Create .well-known redirection for access by federation
if yunohost --output-as plain domain list | grep -q "^$server_name$"
then
cp ../conf/server_name.conf /etc/nginx/conf.d/${server_name}.d/server_name.conf
fi
#=================================================
# SETUP SYSTEMD
#=================================================
@ -299,6 +293,13 @@ fi
ynh_store_file_checksum --file="$homeserver_config_path"
ynh_store_file_checksum --file="/etc/matrix-$app/log.yaml"
# Create .well-known redirection for access by federation
if yunohost --output-as plain domain list | grep -q "^$server_name$"
then
cp ../conf/server_name.conf /etc/nginx/conf.d/${server_name}.d/server_name.conf
fi
#=================================================
# SET COTURN CONFIG
#=================================================