多个App服务使用同一个域名
Multiple App services to use the same domain name
我们有一个场景,我们有多个部署了 Web API 的 Azure 应用程序服务。但是我们需要所有应用程序服务使用相同的域名(不是子域),例如
http://example.com/api1 on one app service and http://example.com/api2 在其他应用服务上。
我们已经查看过使用应用程序网关,但似乎 URL 重写还不受支持。有没有不使用第三方组件就可以实现的方法?
谢谢
你是说URL路由还是重写(重写如mod_rewrite
)?
Azure 应用程序网关中基于 URL 的路由 is fully supported。
我们有一个场景,我们有多个部署了 Web API 的 Azure 应用程序服务。但是我们需要所有应用程序服务使用相同的域名(不是子域),例如 http://example.com/api1 on one app service and http://example.com/api2 在其他应用服务上。 我们已经查看过使用应用程序网关,但似乎 URL 重写还不受支持。有没有不使用第三方组件就可以实现的方法?
谢谢
你是说URL路由还是重写(重写如mod_rewrite
)?
URL 的路由 is fully supported。