llama-3.3-70b-instruct· Meta LMArena Human Preference 140K
Azure, 将app service放在application gateway之后(已给app service启用专用终结点),我需要通过自定义域访问,后端的app…
- User
Azure, 将app service放在application gateway之后(已给app service启用专用终结点),我需要通过自定义域访问,后端的app service还需要配置自定义域吗?我的理解是不需要,否则通过自定义域会绕开application gateway直接到app service。
- Assistant
是的,您的理解是正确的。
当您将 App Service 放在 Application Gateway 之后,并启用了专用终结点(Private Endpoint),这意味着您的 App Service 只能通过专用终结点访问,而不是通过公共域名。
在这种情况下,如果您想通过自定义域名访问 App Service,您需要在 Application Gateway 上配置自定义域名,而不是在 App Service 上配置自定义域名。
如果您在 App Service 上配置自定义域名,确实会绕过 Application Gateway 直接访问 App Service,这样就违背了使用 Application Gateway 的初衷,即控制和管理入站流量。
因此,正确的做法是:
- 在 Application Gateway 上配置自定义域名,并将其指向 App Service 的专用终结点。
- 在 App Service 上不配置自定义域名,或者配置一个不同的域名,以避免与 Application Gateway 的配置冲突。
这样,所有通过自定义域名的请求都会被路由到 Application Gateway,然后再被转发到 App Service 的专用终结点。
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.