Relative Content

Tag Archive for node.jsangulardockernginxdocker-compose

Nginx proxy configuration issue (MEAN stack)

Nginx isn’t listening to angular http requests, the containers are running and I’m able to access the web page without getting any data from the server, please take a look at the docker files along with the nginx.conf files. Thanks in advance.

Angular Docker: How to handle page reload at random ports

I encountered an issue with page reload in my Angular application while using Docker with Nginx. I managed to resolve it by incorporating an Nginx configuration file into my Docker setup, but it currently specifies a fixed port number. However, when I run Docker Compose with a different port, the page redirects to port 4201. I’m looking for a solution to handle this issue so that any redirection goes to the correct port.