deployment angular app from dockerfile and NGIX

Ssactrom5/18/2023
I'm trying to deploy my angular app with docker and a ngix but I do not have much experience doing it in raiwaly, the palpitation displays correctly but if I try to see it through a domain it throws me error 503 and I do not find the problem someone could guide me a little
Ssactrom5/18/2023
355432eb-e1bc-4d73-b214-3d2577d45ccd
Solution
Bbrody5/18/2023
in that config file, listen on 8080, and then set a service variable PORT = 8080
Ssactrom5/18/2023
@Brody in the docker file or ngix.conf
Bbrody5/18/2023
btw its nginx.conf
Bbrody5/18/2023
listen 8080;
Bbrody5/18/2023
in your nginx.conf
Ssactrom5/18/2023
Thank you 👍🏼
Bbrody5/18/2023
let me know how that goes
Ssactrom5/18/2023
It worked perfectly, I just had to add the variable of PORT 80 to make it work with my configuration
Bbrody5/18/2023
you should be using a non privileged port (8080) i have seen services become unstable using port 80
Ssactrom5/19/2023
Okay I'll make the correction you suggest
Bbrody5/19/2023
awsome