Nginx Proxy Cache and Tomcat
mdounin at mdounin.ru
Tue Nov 9 23:38:08 MSK 2010
On Tue, Nov 09, 2010 at 12:50:14PM -0500, nams wrote:
> We need a little bit of help to understand what's wrong with our
> We try to setup a reverse proxy cache using Nginx but somthing seems to
> be wrong with our configuration.
> Behind the Nginx there is a tomcat server.
> The problem is that Nginx doesn't cache at all.
> Logs shows that the content isen't cacheable, but we diden't understand
> why !!
> 2010/11/09 17:08:35 [debug] 3900#0: *1 http proxy header: "Expires: Thu, 01 Jan 1970 00:00:00 GMT"
> 2010/11/09 17:08:35 [debug] 3900#0: *1 http proxy header: "Cache-Control: no-cache"
> 2010/11/09 17:08:35 [debug] 3900#0: *1 http proxy header: "Cache-Control: no-store"
if you want to instruct nginx to ignore these headers.
More information about the nginx