zerosuxx/forward-proxy

By zerosuxx

Updated over 2 years ago

Image
0

389

zerosuxx/forward-proxy repository overview

go-forward-proxy

CI

Show available arguments

forward-proxy -h

Install

make build

Run

make run

Usage

Example Config (forward-proxy-config.json)
{
  "hosts": {
    "my-project.local": {
      "overrideHost": true,
      "targetHost": "localhost:8080"
    }
  }
}
Example curl command
curl -x localhost:8282 http://my-project.local # forwarded to http://localhost:8080 (Host: my-project.local)

Tag summary

Content type

Image

Digest

sha256:3f18ab176

Size

5.1 MB

Last updated

over 2 years ago

Requires Docker Desktop 4.37.1 or later.