From b1473a09408022d34ca606949263ab3d0e1cfbce Mon Sep 17 00:00:00 2001 From: Sophie Schiller Date: Sun, 4 Jul 2021 20:15:19 +0200 Subject: [PATCH] bundle/matrix-dimension enable backups --- bundles/matrix-dimension/metadata.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/bundles/matrix-dimension/metadata.py b/bundles/matrix-dimension/metadata.py index 6172b56..23627ae 100644 --- a/bundles/matrix-dimension/metadata.py +++ b/bundles/matrix-dimension/metadata.py @@ -1,4 +1,10 @@ defaults = { + 'backups': { + 'paths': { + '/opt/matrix-dimension', + '/var/opt/matrix-dimension', + }, + }, 'matrix-dimension': { 'install_dir': '/opt/matrix-dimension', 'data_dir': '/var/opt/matrix-dimension', @@ -38,7 +44,7 @@ def nginx_config(metadata): 'webroot': '/var/www/{}/webapp/'.format(metadata.get('matrix-dimension/url')), 'do_not_set_content_security_headers': True, 'max_body_size': '50M', - 'proxy': { + 'locations': { '/': { 'target': 'http://127.0.0.1:8184', },