在 CCV2 中部署 SSR Spartacus 代码后出现 NGINX 错误

NGINX error after deploying SSR Spartacus code in CCV2

提问人:Santhosh 提问时间:11/17/2023 最后编辑:James ZSanthosh 更新时间:11/17/2023 访问量:34

问:

我正在尝试在 Hybris CCV2 中部署 SSR Spartacus 代码。该代码在本地运行良好,但在 CCV2 中部署后,我只能使用 .当我尝试使用 or 访问该站点时,我在日志中出现以下错误。https://example.com/index.htmlhttps://example.comhttps://example.com/powertools-spa/en/USD/

错误 1:

“log”: “2023/11/09 14:25:15 [错误] 15#15:*42641 connect() 失败(111:连接被拒绝)连接到上游时,客户端:10.244.0.60,服务器:~^。我的应用程序。$, request: “GET / HTTP/1.1”, upstream: “http://127.0.0.1:4200/”, host: “example.com”“,

错误2:

“log”: “2023/11/09 14:25:15 [error] 15#15: *42641 open() ”/usr/share/nginx/html/50x.html“ failed (2: No such file or directory), client: 10.244.0.60, server: ~^.我的应用程序。$, request: “GET / HTTP/1.1”, upstream: “http://127.0.0.1:4200/”, host: “example.com”“,

Angular 服务器端渲染 spartacus-storefront

评论


答: 暂无答案