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

不羁的心 提交于 2019-12-24 09:43:32

问题


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:


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.



来源:https://stackoverflow.com/questions/43919992/can-an-azure-web-site-be-a-single-index-html-file

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!