diff --git a/nginx/conf.d/Recipes.conf b/nginx/conf.d/Recipes.conf index 9cda0f745..e3b4456da 100644 --- a/nginx/conf.d/Recipes.conf +++ b/nginx/conf.d/Recipes.conf @@ -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 / {