An app for proxying requests to an external deployment for migrating http apps (nginx reverse proxy)
This is an app for proxying HTTP requests to an external deployment. It's useful for migrating existing apps to SetOps. It contains a nginx web server which acts as a reverse proxy to the existing app.
-
Build the image:
make build
This builds
http-proxy-app
. -
Tag and deploy the image as outlined in the SetOps docs.
The app is configured with environment variables:
-
NGINX_PROXY
- Example:
https://mydomain.com
- The existing deployment from which to serve content (i.e., the old application server).
- Example:
-
PORT
- Example:
80
- The port on which the proxy server will listen.
- Example: