Simple proxy with x-http-method-override
header support
Arguments precedence:
- CLI flags
- ENV vars
- Config file
config.yml
Example config.yml
:
from: "localhost:8888"
to: "localhost:9999"
tls_skip_verify: false
Example ENV vars:
export GO_PROXY_FROM=localhost:8888
export GO_PROXY_TO=localhost:9999
export GO_PROXY_TLS_SKIP_VERIFY=false
Example CLI args:
./go-proxy --from localhost:7000 --to localhost:7777 --tls_skip_verify false