Azure endpointName.azureedge.net 错误

Azure endpointName.azureedge.net error

A​​zure endpointName.azureedge.net 创建成功但在访问端点 url 时显示错误

You do not have permission to view this directory or page.

我是否需要添加自定义域才能解决这个问题。

请指导我。

  1. 在发布模式下构建您的解决方案
  2. 尝试使用项目的发布选项发布它,然后检查

您在 Azure CDN 配置文件中添加了哪个终结点?如果将 Azure Web 应用程序添加为其端点,您使用哪种语言开发 Web 应用程序?根据我的经验,请尝试在 url 中输入详细路径,例如 https://endpointName.azureedge.net/default。我们还可以在 Azure Web 应用程序设置中设置默认页面,如下图所示: