Override Content-Type header with proxied requests
nginx-forum at nginx.us
Fri May 24 08:58:49 UTC 2013
Thanks for the reply!!
This approach can be a good solution.
I wonder if this can affect the server perfomance.
Another solution could be to create a location for each file extension that
only adds the correct Content-Type header.
This is certainly less maintainable than a map, but is it better for the
Does not exist any native Nginx directive (or in a third party module) that
permits Content-Type overriding (using Nginx mime.types "types" file) for
proxied requests ?
Posted at Nginx Forum: http://forum.nginx.org/read.php?2,239473,239502#msg-239502
More information about the nginx