随笔分类 -  【Azure 应用服务】

上一页 1 ··· 11 12 13 14 15
Azure 中使用App Service的各种疑难杂症
摘要:问题描述 有些情况下,当应用部署到App Service上后,在有些Response Header中,可以看见关于服务器的一些信息,这样会导致隐藏的安全问题,所以可以在web.config中移除某些关键的Header信息。如X-Powered-By。 解决方案 在web.config中的httpPr 阅读全文
posted @ 2020-08-26 22:37 路边两盏灯 阅读(234) 评论(0) 推荐(1) 编辑
摘要:【应用服务 App Service】NodeJS +Egg 发布到App Service时遇见 [ERR_SYSTEM_ERROR]: A system error occurred:uv_os_get_passwd returned ENOENT(no such file or directory) 阅读全文
posted @ 2020-08-24 21:05 路边两盏灯 阅读(2891) 评论(0) 推荐(1) 编辑
摘要:问题情形 当访问部署在Azure App Service中的应用返回 “The remote name could not be resolved: ‘‘xxxxxx.com’” 时,而您在公网中通过nslookup有能够解析成功。这个时间第一怀疑对象为Azure数据中心的DNS服务器没有您当前域名 阅读全文
posted @ 2020-08-19 20:47 路边两盏灯 阅读(541) 评论(0) 推荐(0) 编辑
摘要:问题情形 应用程序发布到App Service后,时间显示不是北京时间,默认情况为UTC时间,比中国时间晚 8 个小时。 详细日志 无 问题原因 Azure 上所有的服务时间都采用了 UTC 时间。 解决方案 如要修改为北京时间,则在App Service的配置页面,“应用设置”节点,添加“WEBS 阅读全文
posted @ 2020-08-19 20:24 路边两盏灯 阅读(381) 评论(0) 推荐(0) 编辑
摘要:问题情形 有时候部署在 Azure App Service的 Java应用会出现乱码 详细日志 无 问题原因 因为 App Service默认的编码为gbk,所以在显示页面或传递中文字符时就会出现乱码。 解决方案 部署在App Service的Java应用,都会在site/wwwroot 文件夹下创 阅读全文
posted @ 2020-08-19 19:46 路边两盏灯 阅读(383) 评论(0) 推荐(0) 编辑
摘要:问题情形 使用EF Core访问数据库,在本地运行正常,发布到App Service后,偶尔出现了Cannot create a DbSet for ** because this type is not included in the model for the context,根据错误,初步怀疑 阅读全文
posted @ 2020-08-17 19:45 路边两盏灯 阅读(4299) 评论(0) 推荐(1) 编辑

上一页 1 ··· 11 12 13 14 15
点击右上角即可分享
微信分享提示