502 Bad Gateway on a Spring boot application in elastic beanstalk

0

I created a new elastic beanstalk, I have my springboot app running on port 5000 and have explicitly put it in the configuration as well and am getting a 502 nginx error. I'm not seeing any issues in the logs or the health report. The security inbound rules are port range 80, and source 0.0.0.0/0 Any help would be appreciated! Enter image description here Enter image description here Enter image description here

James
質問済み 6ヶ月前880ビュー
1回答
0

If it’s a nginx error then this error is not coming from the AWS alb.

Seems you’re fronting your application with a reverse nginx proxy.

You’ll need to check your nginx configuration to ensure it’s forwarding the traffic to the correct internal application port.

Similar to this https://shreyakupadhyay.medium.com/deployment-next-react-js-and-spring-boot-on-aws-ec2-with-nginx-d39bd57ca9

profile picture
エキスパート
回答済み 6ヶ月前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ