简体   繁体   English

nginx在哪里存储客户端的IP地址?

[英]Where nginx stores client's IP address?

它在此处写入日志:/var/log/nginx/access.log,内容: ip / login / time / browser_type /

nginx carries a directive which specifies where you want to store the logs, Have a look at http://nginx.org/en/docs/http/ngx_http_log_module.html . nginx带有一个指令,该指令指定您要将日志存储在何处。看看http://nginx.org/en/docs/http/ngx_http_log_module.html Usually it is var/log/nginx/access.log Hope this helps! 通常是var / log / nginx / access.log希望对您有所帮助!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM