mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-11 00:58:32 -05:00
default mediafiles content disposition header attatchement
This commit is contained in:
@@ -8,6 +8,7 @@ server {
|
|||||||
# serve media files
|
# serve media files
|
||||||
location /media/ {
|
location /media/ {
|
||||||
alias /media/;
|
alias /media/;
|
||||||
|
add_header Content-Disposition 'attachment; filename="$args"';
|
||||||
}
|
}
|
||||||
# pass requests for dynamic content to gunicorn
|
# pass requests for dynamic content to gunicorn
|
||||||
location / {
|
location / {
|
||||||
|
|||||||
Reference in New Issue
Block a user