can an azure web site be a single index.html file?

2019-07-26 02:13发布

can an azure web site be a single index.html file?

I keep getting The page cannot be displayed because an internal server error has occurred.

and when I look at wwwroot my that file keeps disappearing.

I'm deploy using ftp-simple through visual studio code into /site/wwwroot/

1条回答
聊天终结者
2楼-- · 2019-07-26 02:29

Yes, an Azure Web App can be a single index.html. Try creating a clean new site, and dropping an index.html in d:\home\site\wwwroot via Kudu Console (or FTP), and you will be able to request it.

查看更多
登录 后发表回答