I'm trying to create Web App which is just having a Static HTML.
(我正在尝试创建仅具有静态HTML的Web App。)
(我正在关注此链接https://docs.microsoft.com/zh-cn/azure/app-service/app-service-web-get-started-html 。)
(但是当我执行以下命令时)
az webapp up --location westeurope --name . (az webapp up --location westeurope --name。)
az webapp up --location westeurope --name .
(az webapp up --location westeurope --name。)
Got the error - " Could not auto-detect the runtime stack of your app" .
(收到错误-“无法自动检测到应用程序的运行时堆栈”。)
Try to manually include a web.config file and/or select the stack on General Settings:
(尝试手动包含web.config文件和/或在“常规设置”上选择堆栈:)
If you have no backend, the best option to host a static site is through Azure Storage:
(如果没有后端,则托管静态站点的最佳选择是通过Azure存储:)
https://docs.microsoft.com/en-us/azure/storage/blobs/storage-blob-static-website
(https://docs.microsoft.com/zh-CN/azure/storage/blobs/storage-blob-static-website)
2.1m questions
2.1m answers
60 comments
57.0k users