bundles/matrix-synapse: auto-configure nginx vhost
All checks were successful
kunsi/bundlewrap/pipeline/head This commit looks good

This commit is contained in:
Franzi 2021-07-17 12:38:04 +02:00
parent 574b3a833a
commit 32c0ad3bd6
Signed by: kunsi
GPG key ID: 12E3D2136B818350
4 changed files with 84 additions and 72 deletions

View file

@ -139,6 +139,11 @@ nodes['htz.ex42-1048908'] = {
'finallycoffee.eu',
'nyantec.com',
},
'additional_client_config': {
'im.vector.riot.jitsi': {
'preferredDomain': 'meet.ffmuc.net',
},
},
},
'mautrix-telegram': {
'version': 'v0.10.0',
@ -246,49 +251,8 @@ nodes['htz.ex42-1048908'] = {
},
},
},
'matrix.franzi.business': {
'matrix-synapse': {
'ssl': '_.franzi.business',
'locations': {
'/_matrix': {
'target': 'http://[::1]:20080',
},
'/_matrix/media': {
'target': 'http://localhost:20090',
'max_body_size': '500M',
# matrix-media-repo needs this to be the
# homeserver address.
'x_forwarded_host': 'franzi.business',
},
'/_synapse': {
'target': 'http://[::1]:20080',
},
'/.well-known/matrix/client': {
'return': json_dumps({
'm.homeserver': {
'base_url': 'https://matrix.franzi.business',
},
'm.identity_server': {
'base_url': 'https://matrix.org',
},
'im.vector.riot.jitsi': {
'preferredDomain': 'meet.ffmuc.net',
},
}, sort_keys=True),
'additional_config': {
'default_type application/json',
'add_header Access-Control-Allow-Origin *',
},
},
'/.well-known/matrix/server': {
'return': json_dumps({
'm.server': 'matrix.franzi.business:443',
}, sort_keys=True),
'additional_config': {
'default_type application/json',
'add_header Access-Control-Allow-Origin *',
},
},
},
},
'mta-sts': {
'domain': 'mta-sts.mx0.kunbox.net',