HUB
Sign inSign up
reverse-proxy logo

jarppe/reverse-proxy

By jarppe

•Updated almost 2 years ago

Simple reverse HTTP proxy with nginx

Image
Networking
Developer tools
0

558

jarppe/reverse-proxy repository overview

⁠Simple reverse HTTP proxy with nginx

This image contains a nginx⁠ proxy configured to act as reverse proxy to all HTTP requests.

⁠Usage

Start proxy:

$ docker run -p 127.0.0.1:8000:8000 jarppe/reverse-proxy:latest

Use proxy with curl⁠:

$ export http_proxy=http://127.0.0.1:8000
$ curl http://metosin.fi

Note from reverse-proxy logs how the request was routed via it.

⁠Ok, but why?

I have used this with Kubernetes systems where I have many services and pods that I would like access via HTTP. Instead of opening a kubectl port-forward⁠ to each an every endpoint, I can run container of this image in cluster, and create a port-forward tunnel from my host to this containers port 8000.

⁠LICENSE

This work is copyright (c) Jarppe Länsiö 2025 and is licensed under CC0⁠

Tag summary
Recent tags
Content type
Image
Digest
sha256:a1ad53678…
Size
20.7 MB
Last updated
almost 2 years ago
docker pull jarppe/reverse-proxy:latest