How to config nginx to download html file instead of opening it?

Jérôme Loyet jerome at
Tue Aug 25 13:29:57 MSD 2009


in the mime.types file, remove the extension html from the text/html
file. It should do the trick.

++ Jerome

2009/8/25 jzhang <nginx-forum at>:
> Hello everyone,
> I want to config the server when user access a html file, the browser would popup the Save File dialog,
> instead of opening it in window. Your help will be appreciated greatly.
> Jason Zhang
> Posted at Nginx Forum:,5148,5148#msg-5148

More information about the nginx mailing list