matrix-dimension #43

Closed
sophie wants to merge 15 commits from matrix-dimension into main
3 changed files with 5 additions and 4 deletions
Showing only changes of commit a65301ee89 - Show all commits

View file

@ -34,13 +34,14 @@ defaults = {
}
@metadata_reactor.provides(
'nginx/vhosts',
'nginx/vhosts/matrix-dimension',
)
def nginx_config(metadata):
return {
'nginx': {
'vhosts': {
metadata.get('matrix-dimension/url'): {
'matrix-dimension': {
'domain': metadata.get('matrix-dimension/url'),
'webroot': '/var/www/{}/webapp/'.format(metadata.get('matrix-dimension/url')),
'do_not_set_content_security_headers': True,
'max_body_size': '50M',

View file

@ -109,7 +109,7 @@ nodes['htz-cloud.miniserver'] = {
'version': 'master', # doesn't have releases yet
'homeserver': {
'name': 'sophies-kitchen.eu',
'clientServeUrl': 'https://matrix.sophies-kitchen.eu',
'clientServerUrl': 'https://matrix.sophies-kitchen.eu',
'accessToken': vault.decrypt('encrypt$gAAAAABg4btB0KGk068ahGZzR0w_Lm1bj1wUbB2WfNNs2bp3PwM4Ftp6MjQnrF-CejZfrF0NjPJw9Z4MrgileHP0sVw04mvgKSHfTf8gv4kTB6WuCIxHeMWHUDx00LTWL73fSlhCK0o1'),
},
'admins': [
@ -180,7 +180,7 @@ nodes['htz-cloud.miniserver'] = {
},
'nginx': {
'vhosts': {
'dimension.sophies-kitchen.eu': {
'matrix-dimension': {
'extras': True,
},
'sophies-kitchen.eu': {