为多租户应用程序服务配置 Azure 应用程序网关
Configuring Azure Application Gateway for Multi tenant App service
我有 application1.Azurewebsites.net 和 application2.Azurewebsites.net 并且我想使用 Azure 应用程序Gateway ,我遵循了 documentation 并且我能够为一个应用程序做到这一点但是没有关于我如何为多个应用程序实现相同目的的文档,我一开始就尝试了多站点设置设置它我从应用程序网关端点收到 400 响应我的后端池显示健康状态。
用于在网关中设置多个应用程序。
BackEnd Pool
App Services -> app1 (BackEndpool1)
App Services -> app2 (BackEndpool2)
httpsettings
setting1 => port 80 , use appservices , customprobe (httpsettings1)
setting2 => port 80 , use appservices , customprobe (httpsettings2)
Listeners
Multisite => fronendport 80 => hostname = app1 (Listeners1)
Multisite => fronendport 80 => hostname = app2 (Listeners2)
Rules
(Listeners1) -> (BackEndpool1) -> (httpsettings1)
(Listeners2) -> (BackEndpool2) -> (httpsettings2)
愚蠢的我,我错过了为 app1 和 app2 添加应用程序网关的 CName 的步骤,一旦我这样做它开始工作
我有 application1.Azurewebsites.net 和 application2.Azurewebsites.net 并且我想使用 Azure 应用程序Gateway ,我遵循了 documentation 并且我能够为一个应用程序做到这一点但是没有关于我如何为多个应用程序实现相同目的的文档,我一开始就尝试了多站点设置设置它我从应用程序网关端点收到 400 响应我的后端池显示健康状态。
用于在网关中设置多个应用程序。
BackEnd Pool
App Services -> app1 (BackEndpool1)
App Services -> app2 (BackEndpool2)
httpsettings
setting1 => port 80 , use appservices , customprobe (httpsettings1)
setting2 => port 80 , use appservices , customprobe (httpsettings2)
Listeners
Multisite => fronendport 80 => hostname = app1 (Listeners1)
Multisite => fronendport 80 => hostname = app2 (Listeners2)
Rules
(Listeners1) -> (BackEndpool1) -> (httpsettings1)
(Listeners2) -> (BackEndpool2) -> (httpsettings2)
愚蠢的我,我错过了为 app1 和 app2 添加应用程序网关的 CName 的步骤,一旦我这样做它开始工作