Custom configuration

Cliff Wells cliff at
Thu Mar 29 00:15:54 UTC 2012

On Wed, 2012-03-28 at 19:15 -0400, locojohn wrote:
> Adnan, if it doesn't set the "Content-Disposition" header as per my
> example, then it doesn't match the location in which this header is set.
>   It is likely that some other location has preference and so the code I
> provided will never be triggered.  

I'm fairly certain this is exactly what is happening.  Either solution
should work fine, but only if the location is properly matched.

Again, it's not the preferred solution, but directly editing mime.types
would probably work.


More information about the nginx mailing list