Azure WebApp - 无法自动检测应用程序的运行时堆栈

Mur*_*esh 9 azure azure-web-app-service

我正在尝试创建只有静态 HTML 的 Web 应用程序。我正在关注此链接https://docs.microsoft.com/en-us/azure/app-service/app-service-web-get-started-html。但是当我执行以下命令时

az webapp up --location westeurope --name 。

收到错误 - “无法自动检测您的应用程序的运行时堆栈”。

Thi*_*dio 0

尝试手动包含 web.config 文件和/或在常规设置上选择堆栈:

在此输入图像描述

如果您没有后端,托管静态站点的最佳选择是通过 Azure 存储:

https://learn.microsoft.com/en-us/azure/storage/blobs/storage-blob-static-website