How to determine when the response from the cache

xore nginx-forum at
Mon May 14 07:04:27 UTC 2012

"if" (as operator of module "rewrite") works before server gets answer
from upstream.
That's why $upstream_* variables are empty for him.
In my case operator "map" helps me.

Posted at Nginx Forum:,226331,226384#msg-226384

More information about the nginx mailing list