摘要: Nginx的日志记录主机设置server {listen 80;server_name a8z8.com;root /etc/www/abc;access_log /var/log/www/abc/access.log;location / {index index.htm index.htm;}}默认情况下,access_log 会使用 combined 的配置来记录访问日志log_format combined ‘$remote_addr – $remote_user [$time_local] ‘‘”$request” $status $body_bytes_sent ‘‘”$http_ 阅读全文
posted @ 2012-05-25 14:37 Rayol 阅读(6168) 评论(0) 推荐(1) 编辑