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.
- Host: GitHub
- URL: https://github.com/ajsalemo/nginx-nodejs-reverseproxy
- Owner: Ajsalemo
- Created: 2022-01-13T00:01:16.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-11-02T16:00:42.000Z (over 2 years ago)
- Last Synced: 2024-12-29T10:16:10.229Z (over 1 year ago)
- Topics: azure, container, docker, express, javascript, linux, nginx, node, redirect, reverse-proxy, supervisor, supervisord, webserver
- Language: Dockerfile
- Homepage:
- Size: 30.3 KB
- Stars: 0
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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