![](/img/trans.png)
[英]azure front door - why do we need to add multiple backends to the backend pool
[英]Why does a request through Azure front door shows backend pool urls on the browser instead of frontends/domains?
我有一个 azure 前门,它具有自定义前端/域、后端池和配置为使用 azure web 应用程序作为后端的路由规则。 When i go the website the request passes through front door as it should and picks the best available backend, but it displays the azure webapp's url on the browser from the backend pool and not the azure front door domain. 当我被定向到后端并且不在浏览器中显示 azure web 应用程序的 url 时,我希望在浏览器中有前端/域。
例如,当我 go 到www.mysite.com时,我希望它像www.mysite.com/foo (显示来自后端 Z2567A5EC9705EB7AC2C984033E06189D 的内容)
关于如何实现或是否有可能实现的任何指导?
Azure 前门只是对传入的客户端流量进行简单的 URL 转发。 After my validation, if we select the forwarding protocol
to HTTPS only
, the address bar will not display the backend URL when you access the front door URL.
但是,您实际上仍然可以在set-cookie
中看到真正的后端域。
有关更多信息,您可以阅读后端主机 header以及类似的问题here1和here2 。
这可以使用 AFD 中的转发功能,但如果您使用重定向,那么实际的后端 URL 当然会显示,因此配置基本转发和 AFD URL 将始终显示
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.