You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Angular 15部署至Azure App Service遇服务器错误,求解决方案

部署Angular应用到Azure App Service时遭遇服务器错误

问题现象

将Angular应用部署到Azure App Service后,出现无法解决的服务器错误:
服务器错误截图

已执行的排查操作

  • 设置默认文档为index.html:
    默认文档配置截图
  • 创建web.config文件,并在angular.json中添加其路径配置:
    • web.config内容截图:
      web.config配置截图
    • angular.json配置截图:
      angular.json配置截图

当前情况

以上操作均未解决问题,应用已成功部署并运行,但该运行时错误持续存在。

内容的提问来源于stack exchange,提问作者angular-dev-123

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.07.21 11:34:57