mirror of
https://github.com/YunoHost-Apps/synapse_ynh.git
synced 2024-09-03 20:26:38 +02:00
Update scripts/upgrade
Co-Authored-By: Josue-T <josue@tille.ch>
This commit is contained in:
parent
e96d5c2641
commit
dc7d8ac1b7
1 changed files with 1 additions and 1 deletions
|
@ -283,7 +283,7 @@ fi
|
|||
#=================================================
|
||||
|
||||
# Create .well-known redirection for access by federation if it doesn't exist
|
||||
if [[ $server_name != $domain ]] && [[ ! -e /etc/nginx/conf.d/${server_name}.d/server_name.conf ]]
|
||||
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
|
||||
|
|
Loading…
Add table
Reference in a new issue