Override proxy's incorrect Content-Type via mime settings
neoascetic
nginx-forum at nginx.us
Mon Sep 23 22:44:45 UTC 2013
Have same problem, but for different types of files.
I have found a workaround using "map" directive, where pattern is an URI
extension and value is a mime-type, but seems a little bit weird and
requires to create a map from all possible extension. Is there any way to
reuse standard "mime.types" together with Content-Type detection by URI
extension?
Posted at Nginx Forum: http://forum.nginx.org/read.php?2,215744,243078#msg-243078
More information about the nginx
mailing list