Static files download

Axel junk at devignon.fr
Wed Jun 9 18:47:46 MSD 2010


Yes I have this include in nginx.conf in the http section


Le 9 juin 2010 à 16:43, Igor Sysoev a écrit :

> 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/
> 
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://nginx.org/mailman/listinfo/nginx




More information about the nginx mailing list