14 lines
337 B
Text
14 lines
337 B
Text
|
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";
|
||
|
}
|