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

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


Hello,

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,
Joseph
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20120422/b5fe1485/attachment.html>


More information about the nginx mailing list