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";
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue