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";
}