portainer/api
David Eisner 419727e1eb feat(api): Connect to docker behind a name based virtual host proxy (#379)
This involves copying and modifying go's httputil.NewSingleHostReverseProxy, which is documented to (perhaps surprisingly) leave the Host header untouched. Instead, we set the Host header to the target host for the connection for the benefit of name based virtual host proxies that make use of this. The value it would otherwise have in this app, typically 'localhost:8000', is strange and unlikely to be any use.

See golang/go#7618 and golang/go#10342
2016-12-24 17:49:29 +13:00
..
bolt refactor(api): API overhaul (#392) 2016-12-18 18:21:29 +13:00
cli refactor(api): API overhaul (#392) 2016-12-18 18:21:29 +13:00
cmd/portainer refactor(api): API overhaul (#392) 2016-12-18 18:21:29 +13:00
crypto refactor(api): API overhaul (#392) 2016-12-18 18:21:29 +13:00
http feat(api): Connect to docker behind a name based virtual host proxy (#379) 2016-12-24 17:49:29 +13:00
jwt refactor(api): API overhaul (#392) 2016-12-18 18:21:29 +13:00
errors.go refactor(api): API overhaul (#392) 2016-12-18 18:21:29 +13:00
portainer.go refactor(api): API overhaul (#392) 2016-12-18 18:21:29 +13:00