deployment angular app from dockerfile and NGIX
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
Solution:Jump to solution
in that config file, listen on 8080, and then set a service variable PORT = 8080
11 Replies
Project ID:
355432eb-e1bc-4d73-b214-3d2577d45ccd
355432eb-e1bc-4d73-b214-3d2577d45ccd
Solution
in that config file, listen on 8080, and then set a service variable PORT = 8080
@Brody in the docker file or ngix.conf
btw its nginx.conf
listen 8080;
in your nginx.conf
Thank you 👍🏼
let me know how that goes
It worked perfectly, I just had to add the variable of PORT 80 to make it work with my configuration
you should be using a non privileged port (8080) i have seen services become unstable using port 80
Okay I'll make the correction you suggest
awsome