Welcome! Log In Create A New Profile

Advanced

Re: Nginx Proxy Cache and Tomcat

Maxim Dounin
November 09, 2010 03:42PM
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

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

Nginx Proxy Cache and Tomcat

nams November 09, 2010 12:50PM

Re: Nginx Proxy Cache and Tomcat

unclepieman November 09, 2010 01:44PM

Re: Nginx Proxy Cache and Tomcat

Maxim Dounin November 09, 2010 03:42PM

Re: Nginx Proxy Cache and Tomcat

nams November 10, 2010 08:09AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 290
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready