【发布时间】:2019-08-06 06:52:55
【问题描述】:
我为我的 2 个服务配置了 Front Door 服务,一个是 Azure App Service,第二个是 AWS Elastic Beanstalk。两台主机均使用主机地址提供。
我故意停止我的 Azure 应用服务(在我的配置中具有优先级 1)以检查 Front Door 是否将流量重定向到 AWS。
停止的服务返回 403 - 应用程序停止响应,但 Front Door 不会将流量重定向到 AWS 并继续显示带有 403 错误的主服务。
配置:
healthy probes configured properly,
both HTTP and HTTPS enabled,
priorities set,
probe intervals 10 sec
【问题讨论】:
-
什么是路由规则配置?有不同的匹配模式吗?
-
@NancyXiong 标准“/*”,两个服务托管相同的软件
-
你能验证这个
If health probes fail for every backend in a backend pool, then Front Door considers all backends healthy and routes traffic in a round robin distribution across all of them.吗?检查 AWS Elastic Beanstalk 是否也运行不正常。参考this。 -
@NancyXiong 我检查了 Azure Monitor 中的健康指标,一切都很好。工作服务正在运行(由于探测),第二个服务已关闭
-
现在关闭服务我收到 404 响应
标签: azure azure-web-app-service azure-front-door