Azure Web应用程序 - 端点取决于域

发布于 2025-01-30 06:06:04 字数 230 浏览 3 评论 0原文

我想在Azure Cloud中托管一个Angular应用。 该应用程序应可以通过不同的域访问。但是对于每个域,应用程序应使用不同的端点。

mycompany1.com-> restserver.company1/rest mycompany2.com-> RESTSERVER.company2/REST

仅使用一个Azure静态Web应用程序,Web应用程序或类似方法可行吗?

先感谢您。

I want to host an Angular App in the Azure Cloud.
This app should be accessible via different domains. But for each domain the app should use a different Endpoint.

mycompany1.com -> restserver.company1/rest
mycompany2.com -> restserver.company2/rest

Is this feasible with only one azure static web app, web app or similar?

Thank you in advance.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

嘿哥们儿 2025-02-06 06:06:04

您可以通过将负载平衡器放在Azure Web应用程序的前面来做到这一点。 Azure负载平衡服务可以沿两个维度进行分类:全局与区域,HTTP(S)与非HTTP(S)。

“ nofollow

noreferrer”区域选项是 Azure应用程序网关。多个站点托管使您可以使用面向公众的侦听器在同一应用程序网关上配置多个Web应用程序。它使您可以通过将多达100多个网站添加到一个应用程序网关来配置更有效的拓扑为部署。

Global

如果您想在多个地区托管您的站点,请考虑使用 Azure前门

https://learn.microsoft.com/microsoft.com/en--en--- us/azure/application-gateway/totiver-site-overview

https://learn.microsoft.com/en-us/azure/application-gateway/configure-web-app- = customdomdomain%2cazure-portal

You can do this by putting a load balancer in front of your Azure Web App. Azure load balancing services can be categorized along two dimensions: global versus regional, and HTTP(S) versus non-HTTP(S).
REF

Regional

A great regional option is Azure Application Gateway. Multiple site hosting enables you to configure more than one web application on the same port of application gateways using public-facing listeners. It allows you to configure a more efficient topology for your deployments by adding up to 100+ websites to one application gateway.

Global

If you are looking to host your sites across multiple regions then consider using Azure Front Door.

https://learn.microsoft.com/en-us/azure/application-gateway/multiple-site-overview

https://learn.microsoft.com/en-us/azure/application-gateway/configure-web-app?tabs=customdomain%2Cazure-portal

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文