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
preguntada hace 6 meses880 visualizaciones
1 Respuesta
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
EXPERTO
respondido hace 6 meses

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas