Last active
December 16, 2015 15:50
-
-
Save marcinkuzminski/5459173 to your computer and use it in GitHub Desktop.
custom format for nginx that mesures time of requests
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
log_format main '$remote_addr - $remote_user $request_time [$time_local] "$request" ' | |
'$status $body_bytes_sent "$http_referer" ' | |
'"$http_user_agent" "$http_x_forwarded_for"'; | |
access_log /var/log/nginx/access.log main; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment