Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/amazon-web-services/12.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Amazon web services AWS放大SPA,角度502错误无法满足要求_Amazon Web Services_Amazon Route53_Aws Amplify - Fatal编程技术网

Amazon web services AWS放大SPA,角度502错误无法满足要求

Amazon web services AWS放大SPA,角度502错误无法满足要求,amazon-web-services,amazon-route53,aws-amplify,Amazon Web Services,Amazon Route53,Aws Amplify,我在前端使用aws amplify进行开发操作。 作为路由,我将一个配置为路由53。 在我的本地系统上,我可以通过角度路由在这些链路之间进行路由 const routes: Routes = [ { path: '', redirectTo:'/home', pathMatch: 'full'}, { path: 'privacy-policy', component: DataPrivacyComponent },, {path: 'home', component: Ho

我在前端使用aws amplify进行开发操作。 作为路由,我将一个配置为路由53。 在我的本地系统上,我可以通过角度路由在这些链路之间进行路由

    const routes: Routes = [
  { path: '', redirectTo:'/home', pathMatch: 'full'},
  { path: 'privacy-policy', component: DataPrivacyComponent },,
  {path: 'home', component: HomeComponent},
];
当我将名称从更改为(而不是真名)时,我会出现以下CloudFront错误(当我使用每个单词而不是home时,也会出现相同的错误):

502错误 这项要求未能得到满足

CloudFront无法解析源域名。目前无法连接到此应用或网站的服务器。可能存在过多流量或配置错误。请稍后重试,或与应用程序或网站所有者联系。如果您通过CloudFront向客户提供内容,您可以通过查看CloudFront文档找到故障排除步骤并帮助防止此错误

我忘记做一些配置了吗