Welcome! Log In Create A New Profile

Advanced

nginx ignores proxy_ignore_headers

February 22, 2011 03:35PM
I am running nginx 0.8.54 on CentOS 5.2,
In nginx.conf I have set
proxy_ignore_headers Expires Cache-Control X-Accel-Expires;

but still I get bunch of misses because of expire date.
For example:
***22/Feb/2011:21:31:39 +0100 MISS Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0 Expires: Thu, 19 Nov 1981 08:52:00 GMT "GET /opensearch HTTP/1.1" (200)
***22/Feb/2011:21:31:40 +0100 MISS Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0 Expires: Thu, 19 Nov 1981 08:52:00 GMT "GET /opensearch HTTP/1.1" (200)
***22/Feb/2011:21:31:43 +0100 MISS Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0 Expires: Thu, 19 Nov 1981 08:52:00 GMT "GET /opensearch HTTP/1.1" (200)
***22/Feb/2011:21:31:47 +0100 MISS Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0 Expires: Thu, 19 Nov 1981 08:52:00 GMT "GET /opensearch HTTP/1.1" (200)

Similarly:
***22/Feb/2011:21:33:52 +0100 EXPIRED Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0 Expires: Thu, 19 Nov 1981 08:52:00 GMT "GET /xxxxx/xxxxx HTTP/1.1" (200)
***22/Feb/2011:21:33:52 +0100 EXPIRED Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0 Expires: Thu, 19 Nov 1981 08:52:00 GMT "GET /xxxxx/xxxxx HTTP/1.1" (200)
***22/Feb/2011:21:33:53 +0100 EXPIRED Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0 Expires: Thu, 19 Nov 1981 08:52:00 GMT "GET /xxxxx/xxxxx HTTP/1.1" (200)

Any idea why that happens?

D
Subject Author Posted

nginx ignores proxy_ignore_headers

VRider February 22, 2011 03:35PM

Re: nginx ignores proxy_ignore_headers

VRider February 23, 2011 11:10AM

Re: nginx ignores proxy_ignore_headers

Maxim Dounin February 24, 2011 05:02AM

Re: nginx ignores proxy_ignore_headers

VRider February 24, 2011 06:20AM

Re: nginx ignores proxy_ignore_headers

VRider February 24, 2011 07:02AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 201
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready