azure - 为什么我无法导航到 Azure 应用服务中的静态 Html 页面?

标签 azure azure-appservice

我有一个 azure 的应用程序服务。我有一些 html 和 .aspx 页面。 我特别希望能够导航到 .html 页面。 但是当我在浏览器中访问 uri 时,我收到此错误:

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

问)我必须做什么才能允许导航到此类静态页面?

最佳答案

如果你想访问应用服务托管的静态.html页面,你需要对其路径进行一些配置。对于Windows应用服务,您可以创建一个虚拟目录,对于容器化应用服务,您需要挂载一个存储帐户。详情见this official doc .

关于azure - 为什么我无法导航到 Azure 应用服务中的静态 Html 页面?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/67442472/

相关文章:

c# - Microsoft Azure Web App - ASP.NET 无权访问请求的资源

azure - Azure Functions 支持 session 存储吗?

Azure应用服务: Deployment Source missing options [radio vs dropdown]

Azure Terraform 错误 : creating/updating App Service Managed Certificate

c# - Azure Functions 到 Azure Servicebus 连接

c# - 缩小 Azure Web 应用程序时打开套接字会发生什么情况?

Azure webapp up 命令指定要运行的应用服务的 sku

Azure AppServiceConsoleLogs 正在为每个新行输入一个新的日志条目

python - 如何使用 python api 添加 azure devops 迭代路径选项