我的 nodejs 应用程序中的 "GET http://httpheader.net 301" 是什么?

What is "GET http://httpheader.net 301" in my nodejs app?

我在我的 nodejs 应用程序中看到类似的东西...我是否受到了黑客攻击?

GET http://httpheader.net 301 5.464 ms - 108
GET http://www.httpheader.net/ 200 6.820 ms - -

非常感谢

link 支持 httpheader.net says

This is usually an indication that either the IP you are on had a proxy server at one time, your IP is being probed to see if it contains a proxy server or someone just has their software miss configured. These can usually be ignored as they pose no direct threat.

此外,您服务器端的默认 API 路由配置得不是很好。如果在您的服务器上找不到该页面,它应该返回 404 而不是您返回 200。

如果您愿意,可以阻止所有这些请求。