fix federation

This commit is contained in:
histausse 2021-08-07 22:18:49 +02:00
parent 11fe9fa611
commit 4e4dabaad6
Signed by: histausse
GPG key ID: 67486F107F62E9E9
3 changed files with 3 additions and 3 deletions

View file

@ -1,5 +1,5 @@
---
matrix_server_name: deso-palaiseau.fr
matrix_server_name: pains-perdus.fr
matrix_local_server_name: synapse.pp.intra
matrix_enable_registration: False
synapse_postgre_user_pwd: "{{ vault_synapse_postgre_user_pwd }}"

View file

@ -1,2 +1,2 @@
---
ansible_host: "synapse"
ansible_host: "172.20.1.5"

View file

@ -14,7 +14,7 @@ server {
error_log /var/log/nginx/synapse_rp_{{ matrix_server_name }}_error.log;
location /.well-known/matrix/server {
return 200 '{"m.server": "deso-palaiseau.fr:443"}';
return 200 '{"m.server": "{{ matrix_server_name }}:443"}';
default_type application/json;
add_header Access-Control-Allow-Origin *;
}