Skip to content

Proxy HTTP requests to a specified host target.

Notifications You must be signed in to change notification settings

dotnetmentor/go-http-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Proxy HTTP requests to a specified host target.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published