Switching backends based on a cookie

saltyflorida nginx-forum at nginx.us
Fri Jan 29 05:18:50 MSK 2010


Piotr Sikora Wrote:
-------------------------------------------------------
> Eliot,
> try using: proxy_cache_key
> $my_cache_key$cookie_uslnn_env;
> 
> Best regards,
> Piotr Sikora < piotr.sikora at frickle.com >
> 
> 
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://nginx.org/mailman/listinfo/nginx

Hi Piotr,
Thank you, that helps. Ideally, we'd like to bypass the cache for faster testing.
But this will get us up and running. (Also, thank you for your help earlier-- I am still
looking into that problem.)

Eliot

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,46979,47035#msg-47035




More information about the nginx mailing list