How to log only if $upstream_cache_status is not equal to "HIT"

Joseph Cabezas tdgh2323 at
Sun Apr 22 21:49:12 UTC 2012


Iam trying to find out if there is a way I can have an access logs only for the objects that did not produce a HIT from the cache (recorded in the nginx $upstream_cache_status var)

Is this possible?

Thanks and regards,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx mailing list