摘要:
1、修改nginx日志规则,加入反向代理源IP 修改nginx配置文件,在log_format中加入$http_x_forwarded_for 2、开启nginx日志 在站点配置文件中开启日志 access_log /home/wwwlogs/my.log access; 3、查询日志内容 查看某个 阅读全文
posted @ 2020-03-20 17:03
day959
阅读(1246)
评论(0)
推荐(0)
浙公网安备 33010602011771号