azure网站可以是单个index.html文件吗? [英] can an azure web site be a single index.html file?

查看:81
本文介绍了azure网站可以是单个index.html文件吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

一个天蓝色的网站可以是单个index.html文件吗?

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

我一直在获取该页面无法显示,因为发生了内部服务器错误.

当我查看wwwroot时,该文件一直消失.

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

我正在通过Visual Studio代码使用ftp-simple部署到/site/wwwroot/

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

推荐答案

是的,Azure Web App可以是单个index.html.尝试创建一个干净的新网站,然后通过 Kudu控制台在d:\home\site\wwwroot中将index.html拖放到(或FTP),您将可以请求它.

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.

这篇关于azure网站可以是单个index.html文件吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆