problem w/ gzip when hiding Content-Type header from upstream server

bavery nginx-forum at
Thu Jul 16 12:55:00 MSD 2009

I did some more checking, and am now finding that other .js & .css files from the upstream server are not being compressed as well, except that these files simply are served from the upstream server with no content-type header at all. 

So why does nginx not recognize the file type it is handling based on mime-type configuration when dealing with proxied files?


Posted at Nginx Forum:,4037,4098#msg-4098

More information about the nginx mailing list