Skip to content

Instantly share code, notes, and snippets.

@nikitka
Created June 12, 2013 09:04
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 nikitka/e15923c10fa001fec2ee to your computer and use it in GitHub Desktop.
Save nikitka/e15923c10fa001fec2ee to your computer and use it in GitHub Desktop.
nginx log upstream response time
log_format main_time
'$remote_addr - $remote_user [$time_local] '
'"$request" $status $bytes_sent '
'"$http_referer" "$http_user_agent" '
'"$upstream_addr" "$upstream_response_time" $request_time';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment