default mediafiles content disposition header attatchement

This commit is contained in:
vabene1111
2025-01-18 09:22:46 +01:00
parent 3e37d11c6a
commit b5c4174700

View File

@@ -8,6 +8,7 @@ server {
# serve media files
location /media/ {
alias /media/;
add_header Content-Disposition 'attachment; filename="$args"';
}
# pass requests for dynamic content to gunicorn
location / {