-
Notifications
You must be signed in to change notification settings - Fork 1
HTTP Proxy
Cole Brumley edited this page Feb 20, 2017
·
1 revision
The HTTP proxy is a little different than the (default) TCP proxy. Under the covers, it's using go's net/http/httputil.ReverseProxy
so that we can manipulate request/response headers and generally do layer 7-type things. We don't actually do any of that right now, but we could.
Planned features for the HTTP proxy include injecting X-Forwarded-*
headers.
To use the HTTP proxy, keep the following notes in mind:
- The remote URL needs to be a full URL, including scheme (for example:
http://apache:80
, instead ofapache:80
). - The HTTP proxy is a beta feature, many details are still in progress.