Static files download

Igor Sysoev igor at sysoev.ru
Wed Jun 9 18:43:30 MSD 2010


On Wed, Jun 09, 2010 at 04:40:05PM +0200, Axel wrote:

> Hi guys,
> 
> When I switched from Apache to Nginx, I didn't notice an issue I introduced in my website. Static files are displayed into the browser instead of being downloaded. It's the case for PDF files and more surprising Zip files. How comes? Did I forget some kind of configuration?

Do you have this or similar line in configuration:

      include  mime.types;

?


-- 
Igor Sysoev
http://sysoev.ru/en/



More information about the nginx mailing list