nodes/voc.pretalx: add bundle:pretalx
Some checks failed
bundlewrap/pipeline/head There was a failure building this commit
Some checks failed
bundlewrap/pipeline/head There was a failure building this commit
This commit is contained in:
parent
70944d7065
commit
e4c3f5f2f2
2 changed files with 25 additions and 2 deletions
13
data/nginx/files/extras/voc.pretalx/pretalx
Normal file
13
data/nginx/files/extras/voc.pretalx/pretalx
Normal 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";
|
||||
}
|
|
@ -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',
|
||||
},
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue