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
posta 6 mesi fa880 visualizzazioni
1 Risposta
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
ESPERTO
con risposta 6 mesi fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande