bundles/matrix-synapse: add option to automatically provision other nginx vhosts with wellknown data
All checks were successful
kunsi/bundlewrap/pipeline/head This commit looks good

This commit is contained in:
Franzi 2021-07-29 17:33:48 +02:00
parent 2f79f55da5
commit 407d84a8c6
Signed by: kunsi
GPG key ID: 12E3D2136B818350
2 changed files with 33 additions and 47 deletions

View file

@ -104,7 +104,7 @@ nodes['rx300'] = {
},
},
'cron': {
'cleanup-paste.franzi.business': '0 0 * * * kunsi /usr/bin/find /var/www/paste.franzi.business/ -maxdepth 1 -type d -mtime +60 -exec rm -r {} \;',
'cleanup-paste.franzi.business': '0 0 * * * kunsi /usr/bin/find /var/www/paste.franzi.business/ -maxdepth 1 -type d -mtime +60 -exec rm -r {} \;',
},
'check-mail-received': {
't-online': {
@ -224,6 +224,9 @@ nodes['rx300'] = {
'preferredDomain': 'meet.ffmuc.net',
},
},
'wellknown_also_on_vhosts': {
'franzi.business',
},
},
'mautrix-telegram': {
'version': 'v0.10.0',
@ -306,34 +309,6 @@ nodes['rx300'] = {
'franzi.business': {
'webroot': '/var/www/franzi.business/_site/',
'ssl': '_.franzi.business',
'locations': {
'/.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 *',
},
},
},
},
'kunbox.net': {},
'kunsmann.eu': {