mirror of
https://github.com/YunoHost-Apps/synapse_ynh.git
synced 2024-09-03 20:26:38 +02:00
replace __SERVER_NAME__
This commit is contained in:
parent
5e165891bb
commit
379e6d8c7f
1 changed files with 2 additions and 2 deletions
|
@ -215,10 +215,10 @@ 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
|
||||
cp ../conf/server_name.conf /etc/nginx/conf.d/__SERVER_NAME__.d/server_name.conf
|
||||
fi
|
||||
|
||||
ynh_store_file_checksum --file="/etc/nginx/conf.d/${server_name}.d/server_name.conf"
|
||||
ynh_store_file_checksum --file="/etc/nginx/conf.d/__SERVER_NAME__.d/server_name.conf"
|
||||
|
||||
#=================================================
|
||||
# MIGRATION 2 : MULTINSTANCE SUPPORT
|
||||
|
|
Loading…
Add table
Reference in a new issue