gpt4 book ai didi

Azure 前端门显示 "Our services aren' t 现在可用“与服务结构集群

转载 作者:行者123 更新时间:2023-12-02 08:33:21 26 4
gpt4 key购买 nike

我已在 azure 门户中设置了 Azure Frontdoor。我已经创建了

2个前端主机

  1. myappdev1.azurefd.net
  2. dev1.myapp.com

后端池具有以下内容

1.BackendHostName= myappdev1.northeurope.cloudapp.azure.com 2.Backendhostheader=dev1.myapp.com 3.HTTPS端口62652

和路由规则

使用 https 路由规则将前端映射到仅使用 HTTPS 的后端。myappdev1.northeurope.cloudapp.azure.com 是一个服务结构集群,其 Web 应用程序部署在端口 62652 上,因此 url https://myappdev1.northeurope.cloudapp.azure.com:62652有效。

我还在 CDN 中将 dev1.myapp.com 映射到 myappdev1.azurefd.net

但是在运行 https://myappdev1.azurefd.net 时或https://dev1.myapp.com

我收到错误

Our services aren't available right now We're working to restore all services as soon as possible. Please check back soon.

最佳答案

解决方案是为结构集群设置一个 DNS。这是一个用例部署在 Service Fabric 上的网站。该网站的 URL 是 www.devopsguru.com

步骤如下

1. you have a domain :  devopsguru.com 
2. You have a AzureFrontdoor named : devopsguru.azurefd.net
3. you have a cluster named: myservicefabric.northeurope.cloudapp.azure.com.
4. Create a record set :myservicefabric.devopsguru.com and www.devopsguru.com
5. Map myservicefabric.devopsguru.com to myservicefabric.northeurope.cloudapp.azure.com
6. Map www.devopsguru.com to devopsguru.azurefd.net
7. Create a FrontendHosts for www.devopsguru.com
8. Create BackendPool called frontedbackendpool.
9. Add Backends hosts with myservicefabric.devopsguru.com as Custom Host
10. Create Routing rules called frontendrules. In FrontendHosts select www.devopsguru.com and backendpool select frontedbackendpool

应该可以了

关于Azure 前端门显示 "Our services aren' t 现在可用“与服务结构集群,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58821044/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com