摘要:
nginx的配置文件中日志格式加入$http_x_forwarded_for--> log_format access '$remote_addr - $remote_user [$time_local] "$request" ' '$status $body_bytes_sent "$http_referer" ' '"$http_user_agent" $http_x_forwarded_for'; access_log /var/log/nginx/access.log ac 阅读全文
posted @ 2014-02-19 18:02
星空刺
阅读(2000)
评论(0)
推荐(0)