Sign inSign up

dotnetmentor/go-http-proxy

By dotnetmentor

•Updated almost 8 years ago

Proxy HTTP requests to a specified host target.

Image
0

551

dotnetmentor/go-http-proxy repository overview

⁠go-http-proxy

Proxy HTTP requests to a specified host target. Handles Location response header re-writes and basic auth for protecting the target host.

⁠Usage

⁠Build from source
git clone [email protected]:dotnetmentor/go-http-proxy.git
cd ./go-http-proxy
go build -o go-http-proxy
go-http-proxy -addr=localhost:8080 -host=localhost:2113 -rewrite-location-header -basic=admin:changeit -v
⁠Docker
docker build -t dotnetmentor/go-http-proxy:latest .
docker run --rm -p 8080:8080 dotnetmentor/go-http-proxy:latest -host=<hostname>:<port> -v

Tag summary

Content type

Image

Digest

Size

2.1 MB

Last updated

almost 8 years ago

docker pull dotnetmentor/go-http-proxy