2020年7月21日
摘要: nginx 日志功能 在 nginx 中有两种日志: access_log:访问日志,通过访问日志可以获取用户的IP、请求处理的时间、浏览器信息等 error_log:错误日志,记录了访问出错的信息,可以用于定位错误的原因 设置 access_log 访问日志主要用于记录客户端的请求。客户端向 ng 阅读全文
posted @ 2020-07-21 21:41 manbax 阅读(1756) 评论(0) 推荐(0)
摘要: 查找 nginx 配置文件的位置 原文地址:https://www.cnblogs.com/qianpangzi/p/10922420.html 另外补充:通过 where nginx 可以找出 nginx 命令(可能是链接文件)所在地址: ➜ bin where nginx /usr/local/ 阅读全文
posted @ 2020-07-21 20:41 manbax 阅读(442) 评论(0) 推荐(0)