Skipping the proxy cache based on a cookie?

António P. P. Almeida appa at perusio.net
Thu Jan 20 00:27:54 MSK 2011


On 19 Jan 2011 21h22 WET, nginx-forum at nginx.us wrote:

> I have actually already tried that with no success.
>
> Taking a look at the 3rd party headers more module to see if it will
> help.

There's no need for that the Headers module does what is needed.

It works for me. So I guess that you've got something in your
setup/config that breaks it.

HTTP/1.1 200 OK
Server: nginx
Date: Wed, 19 Jan 2011 21:27:05 GMT
Content-Type: application/octet-stream
Content-Length: 0
Connection: keep-alive
Keep-Alive: timeout=10
Cookie: mycookie=1

--- appa




More information about the nginx mailing list