6月8日

12.10 Nginx访问日志 Nginx访问日志 1. 进入配置文件 vim /usr/local/nginx/conf/nginx.conf  //搜索log_format 更改以下配置 log_format aming '$remote_addr $http_x_forwarded_for [$time_local]' 如下图:   日志格式字段含义如下: combined_realip为日
相关文章
相关标签/搜索