Skip to content

Instantly share code, notes, and snippets.

@hexa2k9
Created May 12, 2012 11:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hexa2k9/2665907 to your computer and use it in GitHub Desktop.
Save hexa2k9/2665907 to your computer and use it in GitHub Desktop.
nginx cache log
log_format cache '$remote_addr - $host [$time_local] "$request" $status '
'$body_bytes_sent "$http_referer" '
'rt=$request_time ut="$upstream_response_time" '
'uh=$upstream_addr cs=$upstream_cache_status';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment