A containerized Express.js application that uses NGINX as a reverse proxy within the same container. This utilizes supervisord to start both the NGINX and Node process.
- NGINX is exposed over port 8090 (arbitrary port in this case)
- Node/Express is listening on port 3000
- NGINX's
default.conf
and/ornginx.conf
can now be changed as needed such as redirects or header removal default.conf
contains a commented out example for non-www to www redirection