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달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠