没有网址的NginX日志行

时间:2019-03-23 00:44:53

标签: nginx

如果我在nginx访问日志中有这样的行,那是什么意思?

63.144.XX.XX - - [22/Mar/2019:22:06:22 +0000] "-" 400 0 "-" "-" 39.954 example.com:443

(显然,该域实际上不是example.com)

如果这显然是无效的请求,那么不会花40秒钟就知道是不是吗?

nginx版本:nginx / 1.2.1

完整的日志格式'$ remote_addr-$ remote_user [$ time_local]“ $ request” $ status $ body_bytes_sent“ $ http_referer”“ $ http_user_agent” $ request_time $ host:$ server_port';

配置时间很长,但是主要是proxy_pass到另一台计算机上的ruby unicorn服务器。

编辑:我也发现了错误408的行。这更容易解释-读取客户端请求时超时,可能与tcp预连接有关。

https://airbrake.io/blog/http-errors/408-request-timeout

https://www.keycdn.com/support/408-request-timeout

https://www.haproxy.com/blog/haproxy-and-http-errors-408-in-chrome/

400可能也是由类似原因引起的吗?可以通过某种方式解决吗?还是只是巧合?

0 个答案:

没有答案
相关问题