Nginx Proxy Cache and Tomcat
Maxim Dounin
mdounin at mdounin.ru
Tue Nov 9 23:38:08 MSK 2010
Hello!
On Tue, Nov 09, 2010 at 12:50:14PM -0500, nams wrote:
> Hello,
>
> We need a little bit of help to understand what's wrong with our
> config.
> 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"
See http://wiki.nginx.org/HttpProxyModule#proxy_ignore_headers
if you want to instruct nginx to ignore these headers.
Maxim Dounin
More information about the nginx
mailing list