最佳答案:nginx访问日志默认为开启状态,日志位于nginx安装目录下的logs/access.log日志配置指令如下:access_logpath[format[buffer=size][gzip[=lev