摘要:
缘由:客户测试反馈Request failed with status code 504,后续排查应该是nginx未配置超时设置 Step 1.打开nginx.conf查看 缺少keepalive_timeout配置 #连接超时时间,Nginx 的默认值是 75 秒,有些浏览器最多只保持 60 秒, 阅读全文
posted @ 2020-12-22 12:18
游弋在冷风中
阅读(914)
评论(0)
推荐(0)
摘要:
缘由:nginx.conf没有写log路径,所以debug的时候找不到日志,遂在conf文件里写入了log路径 Setp1.nginx默认日志路径: /var/log/nginx Setp2.conf写入log路径: access_log /var/log/nginx/xxxx_access.log 阅读全文
posted @ 2020-12-22 12:10
游弋在冷风中
阅读(14659)
评论(0)
推荐(1)