mirror of
https://github.com/YunoHost-Apps/synapse_ynh.git
synced 2024-09-03 20:26:38 +02:00
Update install
This commit is contained in:
parent
49bce47d84
commit
d0cfba00d5
1 changed files with 2 additions and 1 deletions
|
@ -194,7 +194,8 @@ ynh_app_setting_set $app registration_shared_secret "$registration_shared_secret
|
||||||
ynh_app_setting_set $app form_secret "$form_secret"
|
ynh_app_setting_set $app form_secret "$form_secret"
|
||||||
|
|
||||||
# Create .well-known redirection for access by federation
|
# Create .well-known redirection for access by federation
|
||||||
if [[ $server_name != $domain ]]; then
|
if [[ $server_name != $domain ]]
|
||||||
|
then
|
||||||
cat > /etc/nginx/conf.d/${server_name}.d/server_name.conf <<EOF
|
cat > /etc/nginx/conf.d/${server_name}.d/server_name.conf <<EOF
|
||||||
location /.well-known/matrix/ {
|
location /.well-known/matrix/ {
|
||||||
return 200 '{"m.server": "$domain", "m.homeserver": "https://$domain"}';
|
return 200 '{"m.server": "$domain", "m.homeserver": "https://$domain"}';
|
||||||
|
|
Loading…
Add table
Reference in a new issue