An open API service indexing awesome lists of open source software.

https://github.com/ajsalemo/nginx-nodejs-reverseproxy

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.
https://github.com/ajsalemo/nginx-nodejs-reverseproxy

azure container docker express javascript linux nginx node redirect reverse-proxy supervisor supervisord webserver

Last synced: 3 months ago
JSON representation

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.

Awesome Lists containing this project

README

          

# NGINX-Nodejs-ReverseProxy

A containerized Express.js application that uses NGINX as a reverse proxy within the same container. This utilizes [supervisord](http://supervisord.org/introduction.html#:~:text=The%20server%20piece%20of%20supervisor%20is%20named%20supervisord.,handling%20%E2%80%9Cevents%E2%80%9D%20corresponding%20to%20points%20in%20subprocess%20lifetimes.) 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/or `nginx.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