如何使用无效的主机解决我的WebApp?
不确定这是怎么发生的,但是我会遇到404个错误,而我的哨兵项目中的请求数据毫无意义。该项目将CloudFlare用于DNS,然后通过AWS网络。
curl \
-H "Accept: */*" \
-H "Content-Length: " \
-H "Content-Type: " \
-H "Host: ${ip}" \
-H "User-Agent: curl/7.64.1" \
-H "X-Amzn-Trace-Id: Root=[Filtered]" \
-H "X-Forwarded-For: [Filtered]" \
-H "X-Forwarded-Port: 443" \
-H "X-Forwarded-Proto: https" \
"http://${ip}/"
当我的项目击中该请求时,我的项目如何投掷404。我看不出这个请求如何解决该项目。
- 是什么造成这一点?
- 如何解决?
- 这是Cloudflare还是AWS的问题?
No sure how this could happen but I am getting 404 errors where the request data in my sentry project makes no sense. The project is using CloudFlare for DNS then it goes through an AWS network.
curl \
-H "Accept: */*" \
-H "Content-Length: " \
-H "Content-Type: " \
-H "Host: ${ip}" \
-H "User-Agent: curl/7.64.1" \
-H "X-Amzn-Trace-Id: Root=[Filtered]" \
-H "X-Forwarded-For: [Filtered]" \
-H "X-Forwarded-Port: 443" \
-H "X-Forwarded-Proto: https" \
"http://${ip}/"
How can my project throw a 404 when the requests hitting it are http://${ip}/
. I don't see how this request could resolve to the project.
- What could be causing this?
- How can this be resolving?
- Is this an issue with CloudFlare or AWS?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论