Sign inSign up

evns/local-proxy

By evns

•Updated almost 9 years ago

Super simple reverse proxy from localhost to a specific IP and port

Image
0

289

evns/local-proxy repository overview

⁠Local Proxy

This is a super simple reverse proxy which allows you proxy localhost to a specific IP:PORT.

⁠Usage

⁠Docker

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
⁠Docker Compose

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

Tag summary

Content type

Image

Digest

Size

42.3 MB

Last updated

almost 9 years ago

docker pull evns/local-proxy