Advertisement
anton_slim

log format nginx

Aug 16th, 2015
256
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. /etc/nginx/nginx.conf
  2.  
  3. http {
  4. ...
  5. log_format main '$remote_addr - $remote_user [$time_local] "$request" '
  6. '$status $body_bytes_sent "$http_referer" '
  7. '"$http_user_agent" "$http_x_forwarded_for"';
  8. ...
  9.  
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement