关于日志
已经在nginx.conf中指定log_format bbslog '$remote_addr - $remote_port$remote_user [$time_local] "$request" ''$status $body_bytes_sent "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for"';
在server{}中也写了
access_log/data/logs/bbslog/bbs.zjol.com.cn-access.log bbslog;
可是/usr/local/nginx/logs/access.log还是有记录,想问问access.log中是哪里配置的在输出日志?
nginx.conf中未找到。 没重启nginx?
页:
[1]