ReProxied is a middleware plugin for Traefik to route an incoming request through a proxy. Be aware that this middleware initiates the call to the proxy and any middlewares after this one will be skipped. If the request to the proxy itself fails the middleware will respond with a 502 bad gateway response.
When set to true
the parameter keepHostHeader
allow to keep original Host as HTTP header even if proxied request target any other host.
pilot:
token: "xxxxx"
experimental:
plugins:
reproxied:
moduleName: "github.com/nilskohrs/reproxied"
version: "v0.0.5"
keepHostHeader: true|false # optional, false by default
http:
middlewares:
reproxied-foo:
reproxied:
proxy: http://proxyHost:3128
targetHost: https://example.com
keepHostHeader: true|false # optional, false by default