mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-03 21:37:49 -05:00
default mediafiles content disposition header attatchement
This commit is contained in:
@@ -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 / {
|
||||
|
||||
Reference in New Issue
Block a user