Azure服务结构,通过域名访问应用程序

Azure服务结构,通过域名访问应用程序,azure,azure-service-fabric,azure-ad-graph-api,Azure,Azure Service Fabric,Azure Ad Graph Api,我的要求是访问基于租户域的结构应用程序 eg: i had 3 services 1)CustomerApps 2)CompanyApps 3)SignInApps All the above apps deployed on azure service fabric Cluster 我已经在Azure Active directory中创建了自定义域,并使用Register验证该域(例如:godady) 1) 您的域(例如“Your domain.xyz

我的要求是访问基于租户域的结构应用程序

eg:  i  had  3  services  

1)CustomerApps
2)CompanyApps
3)SignInApps

All  the   above  apps  deployed  on  azure   service  fabric  Cluster
我已经在Azure Active directory中创建了自定义域,并使用Register验证该域(例如:godady)

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

lbip

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)
“端口”是您公开的端口(在我的例子中是80),
“后端端口”是应用程序的内部端口(您可以在元素的服务清单中找到它。在我的例子中是8164)
在“探测器”字段中,选择之前创建的探测器

如果需要,这里有一些屏幕截图:

“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)