nodes/voc.pretalx: add bundle:pretalx
Some checks failed
bundlewrap/pipeline/head There was a failure building this commit

This commit is contained in:
Franzi 2021-01-16 22:04:03 +01:00
parent 70944d7065
commit e4c3f5f2f2
Signed by: kunsi
GPG key ID: 12E3D2136B818350
2 changed files with 25 additions and 2 deletions

View file

@ -0,0 +1,13 @@
location /media/ {
alias /opt/pretalx/data/media/;
add_header Content-Disposition 'attachment; filename="$1"';
expires 7d;
access_log off;
}
location /static/ {
alias /opt/pretalx/static/;
access_log off;
expires 365d;
add_header Cache-Control "public";
}

View file

@ -6,7 +6,7 @@ nodes['voc.pretalx'] = {
'hostname': 'pretalx.c3voc.de',
'bundles': {
'c3voc-addons',
# 'pretalx',
'pretalx',
'postgresql',
},
'metadata': {
@ -14,9 +14,19 @@ nodes['voc.pretalx'] = {
'vhosts': {
'pretalx': {
'domain': 'pretalx.c3voc.de',
# 'extras': True,
'proxy': {
'/': {
'target': 'http://127.0.0.1:8345/',
},
},
'extras': True,
},
},
},
'pretalx': {
'version': 'v2.1.1',
'domain': 'pretalx.c3voc.de',
'mail_from': 'pretalx@c3voc.de',
},
},
}