将 URL 映射到 Azure WebRole

发布于 2024-08-21 06:14:11 字数 382 浏览 3 评论 0原文

我找不到任何高级讨论文档来描述在应用程序具有多个 WebRoles 的情况下如何将 URL 映射到 Azure WebRoles。

是:

roleA.myApp.com to WebRoleA
roleB.myApp.com to WebRoleB

还是:

www.myApp.com/roleA to WebRoleA
www.myApp.com/roleB to WebRoleB

这个问题的答案将帮助我决定我的 Azure 应用程序需要什么类型的 SSL 证书。

注意:我知道 WebRole 可以配置一定数量的实例,但在这个问题中我正在讨论应用程序中的不同 WebRole。

I cannot find any high level discussion docs that describe how URLs are mapped to Azure WebRoles in the case where an application has multiple WebRoles.

Is it:

roleA.myApp.com to WebRoleA
roleB.myApp.com to WebRoleB

or:

www.myApp.com/roleA to WebRoleA
www.myApp.com/roleB to WebRoleB

The answer to this question will help me decide what type of SSL certificate(s) my Azure application will need.

Note: I understand a WebRole can have a configured number of instances, but in this question I am discussing different WebRoles within an app.

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

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

发布评论

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

评论(1

永言不败 2024-08-28 06:14:11

每个 Web 角色都有自己的端口作为其端点区分器。通常您会访问端口 80(或 443)。您需要为第二个网络角色选择非标准端口。

下面是 VS2010 中配置 webrole 时的配置表单。我只是添加了两个网络角色,并选择了第二个。我现在可以为特定的网络角色指定端口和证书。

VS2010 RC webrole 配置

Each web role gets its own port as its endpoint differentiator. Typically you'd hit port 80 (or 443). You'll need to choose non-standard ports for the 2nd webrole.

Here's what the configuration form looks like in VS2010, when configuring a webrole. I simply added two web roles, and chose the 2nd one. I can now specify the port as well as the certificate, for the specific webrole.

VS2010 RC webrole configuration

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