简体   繁体   中英

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 . Usually it is var/log/nginx/access.log Hope this helps!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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