Skip to content

a simple Nginx reverse proxy that uses Environment variables to define source and destination.

Notifications You must be signed in to change notification settings

csaller/nginx-cli

Repository files navigation

nginx-cli

just a small nginx reverse proxy for Docker that accepts a value from a variable.

how to use?

building the image:

clone the repo, build the image using docker build -t nginx-cli . and run it using docker run -e DESTINATION_URL=https://example.com nginx-cli.

using the image already built:

this image is hosted on docker hub. run it using docker run -e DESTINATION_URL=https://example.com csaller/nginx-cli.

You can edit the DESTINATION_URL variable to whatever you need.

source code

the source code for this image is hosted here.

About

a simple Nginx reverse proxy that uses Environment variables to define source and destination.

Resources

Stars

Watchers

Forks