I got this working by regenerating the PDF; perhaps it was corrupted in some way. I had this problem, and I had configured mime. The problem was that nginx only sets the content-type on files it actually returns. If nginx is just a gateway to in my case a django site, the django code is responsible for setting content-type correctly — Qualia. Add a comment. Active Oldest Votes. Improve this answer. Marcelo Bittencourt Marcelo Bittencourt 3 3 silver badges 10 10 bronze badges.
I had already done that. Thanks, though. The Overflow Blog. Podcast what if you could invest in your favorite developer? Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Email Required, but never shown. The Overflow Blog.
Podcast what if you could invest in your favorite developer? Who owns this outage? Building intelligent escalation chains for modern SRE. Featured on Meta. Now live: A fully responsive profile. Reducing the weight of our footer. Related Hot Network Questions. Add a comment. Active Oldest Votes. Dmitry Verhoturov Dmitry Verhoturov 5, 2 2 gold badges 28 28 silver badges 35 35 bronze badges.
Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Email Required, but never shown. The Overflow Blog.
Podcast what if you could invest in your favorite developer? Who owns this outage? Building intelligent escalation chains for modern SRE. Featured on Meta. Now live: A fully responsive profile.
0コメント