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 to the end of config section and Indentation
This commit is contained in:
parent
4aae628bbe
commit
3bec1893a2
1 changed files with 6 additions and 6 deletions
|
@ -212,6 +212,12 @@ fi
|
||||||
ynh_store_file_checksum --file="$homeserver_config_path"
|
ynh_store_file_checksum --file="$homeserver_config_path"
|
||||||
ynh_store_file_checksum --file="/etc/matrix-$app/log.yaml"
|
ynh_store_file_checksum --file="/etc/matrix-$app/log.yaml"
|
||||||
|
|
||||||
|
# Create .well-known redirection for access by federation if it doesn't exist
|
||||||
|
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
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# MIGRATION 2 : MULTINSTANCE SUPPORT
|
# MIGRATION 2 : MULTINSTANCE SUPPORT
|
||||||
#=================================================
|
#=================================================
|
||||||
|
@ -282,12 +288,6 @@ fi
|
||||||
# MIGRATION 5 : CREATE A .well-known FILE
|
# MIGRATION 5 : CREATE A .well-known FILE
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
# Create .well-known redirection for access by federation if it doesn't exist
|
|
||||||
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
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# STANDARD UPGRADE STEPS
|
# STANDARD UPGRADE STEPS
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue