Super simple reverse proxy from localhost to a specific IP and port
272
This is a super simple reverse proxy which allows you proxy localhost to a specific IP:PORT.
Set the destination IP and port environment variables and use docker run:
docker run -d -p 80:80
-e IP=<destination_ip>
-e PORT=<destination_port>
evns/local-proxy
Edit IP and PORT in docker-compose.yml file to point at your destination:
docker-compose up -d
Now you can hit your destination with the following:
curl localhost
Content type
Image
Digest
Size
42.3 MB
Last updated
almost 9 years ago
docker pull evns/local-proxy