how to check session value in nginx conf

24671694 at qq.com
Fri Dec 16 15:06:05 UTC 2011


I want to improve performance of nginx when using proxy_cache, and want to check whether customer_id exists in session, if not, I will use proxy_cache to return the content, or else, it will request from proxy_pass.
  
 How can I write the config?
  
 Thanks,
 Tiger Huang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20111216/a1c22830/attachment.html>


More information about the nginx mailing list