Real life usage of the X-Forwarded-Host header?

前端 未结 7 495
予麋鹿
予麋鹿 2021-01-30 05:09

I\'ve found some interesting reading on the X-Forwarded-* headers, including the Reverse Proxy Request Headers section in the Apache documentation, as well as the

7条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-01-30 05:39

    One example could be a proxy that blocks certain hosts and redirects them to an external block page. In fact, I’m almost certain my school filter does this…

    (And the reason they might not just pass on the original Host as Host is because some servers [Nginx?] reject any traffic to the wrong Host.)

提交回复
热议问题