gpt4 book ai didi

Azure Service Fabric,通过域名访问应用程序

转载 作者:行者123 更新时间:2023-12-01 22:29:10 25 4
gpt4 key购买 nike

我的需求是基于租户域访问Fabric应用

eg:  i  had  3  services  

1)CustomerApps
2)CompanyApps
3)SignInApps

All the above apps deployed on azure service fabric Cluster

我已经在 Azure Active Directory 中创建了自定义域并通过注册验证该域(例如:godady)

So,  now   i  want  to  display   each  fabric  Application  based  on  Tenant/Domain  name like, assumed  i  had  custom  domain  dev-tennat.xyz.com

so,application url will be
dev-tennat.xyz.com/SignInApps
dev-tennat.xyz.com/CompanyApps
dev-tennat.xyz.com/CustomerApps

最佳答案

1) 您的域名(例如“your-domain.xyz.com”)应该是 A 类型,并且必须指向您的负载均衡器公共(public) IP。您可以在负载均衡器概述下找到 IP。

磅比

2) 您需要为负载平衡配置自定义探针。

go to “Probes” under “Settings” category.
Select HTTP protocol
i’ve set port to 80 as i wanted something to be visible by default
In “Path” field you specify endpoint you want to expose it can be “/” or “/api/customapi”
Interval – set value in seconds. Every ‘n’ seconds your “Path” will be triggered to check if app is alive

3)您需要配置自定义规则

转到“设置”类别下的“负载平衡规则”并创建新规则。创建新规则时:

“Port” is your publicly exposed port (80 in my case),
“Backend port” is internal port of your app (you can find it in service manifest in <EndPoint /> element. In my case it’s 8164)

在“探针”字段中选择之前创建的探针。

如果需要的话,有一些截图: https://eduardlos.wordpress.com/2016/10/10/how-to-access-your-app-when-deployed-to-azure-service-fabric-cluster/

关于Azure Service Fabric,通过域名访问应用程序,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39958075/

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