切换到 HTTPS 后,Logwatch 会为访问该站点的所有主机显示 ^null$ 错误(连接在收到服务器响应之前关闭)。
如何消除这个错误?
通过https://2ip.ru/server-response/测试时,它给出:
HTTP/1.1 200 OK
在 Logwatch 报告中:
*.** MB transferred in 7645 responses (1xx 7645, 2xx 0, 3xx 0, 4xx 0, 5xx 0)
切换到 HTTPS 后,Logwatch 会为访问该站点的所有主机显示 ^null$ 错误(连接在收到服务器响应之前关闭)。
如何消除这个错误?
通过https://2ip.ru/server-response/测试时,它给出:
HTTP/1.1 200 OK
在 Logwatch 报告中:
*.** MB transferred in 7645 responses (1xx 7645, 2xx 0, 3xx 0, 4xx 0, 5xx 0)
问题是 Apache 日志文件的格式错误。我在 apache2.conf 文件中返回了默认日志格式,一切开始正常工作: