Skip to content

Instantly share code, notes, and snippets.

@ceylani
Created December 2, 2016 08:37
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save ceylani/5802a9b3085dd6d24a144bcf547900c1 to your computer and use it in GitHub Desktop.
nginx logformat
log_format main '$remote_addr - "$http_x_forwarded_for" - $remote_user [$time_local] '
'"$request" $status $body_bytes_sent "$http_referer" '
'"$http_user_agent"' ;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment