我在 ELB 后面的三台 Linux 服务器上有两个虚拟主机。我已为 ELB 启用了代理协议,以便 SSL 请求在实例上而不是在 ELB 上终止。我在我的一个虚拟主机日志中连续看到以下错误
错误日志:
[Thu Oct 19 14:57:07.126415 2017] [proxy_protocol:error] [pid 2992] [client 127.0.0.1:47348] ProxyProtocol: no valid header found
[Thu Oct 19 14:57:07.471596 2017] [proxy_protocol:error] [pid 3076] [client 127.0.0.1:47388] ProxyProtocol: no valid header found
[Thu Oct 19 14:57:07.785776 2017] [proxy_protocol:error] [pid 3076] [client 127.0.0.1:47428] ProxyProtocol: no valid header found
[Thu Oct 19 14:57:07.909984 2017] [proxy_protocol:error] [pid 2528] [client 127.0.0.1:47450] ProxyProtocol: no valid header found
[Thu Oct 19 14:57:08.384383 2017] [proxy_protocol:error] [pid 2612] [client 127.0.0.1:47496] ProxyProtocol: no valid header found
访问日志:
127.0.0.1 - - [19/Oct/2017:14:57:45 +0000] "GET /admin/index.php HTTP/1.1" 302 - "-" "-"
127.0.0.1 - - [19/Oct/2017:14:57:45 +0000] "GET /? HTTP/1.1" 302 - "-" "-"
127.0.0.1 - - [19/Oct/2017:14:57:45 +0000] "GET /admin/index.php HTTP/1.1" 302 - "-" "-"
127.0.0.1 - - [19/Oct/2017:14:57:45 +0000] "GET /? HTTP/1.1" 302 - "-" "-"
127.0.0.1 - - [19/Oct/2017:14:57:45 +0000] "GET /admin/index.php HTTP/1.1" 302 - "-" "-"
127.0.0.1 - - [19/Oct/2017:14:57:46 +0000] "GET /? HTTP/1.1" 302 - "-" "-"
127.0.0.1 - - [19/Oct/2017:14:57:46 +0000] "GET /admin/index.php HTTP/1.1" 302 - "-" "-"
127.0.0.1 - - [19/Oct/2017:14:57:46 +0000] "GET /? HTTP/1.1" 302 - "-" "-"
127.0.0.1 - - [19/Oct/2017:14:57:46 +0000] "GET /admin/index.php HTTP/1.1" 302 - "-" "-"
您能否建议如何消除这些错误。这些错误是最近才出现的,之前我没有发现任何这些错误。我在我的 QA 环境中没有看到任何此类错误。