octavia/etc
Vlad Gusev ec83c69372 Add support for oslo_middleware http_proxy_to_wsgi
This sets up the HTTPProxyToWSGI middleware in front of Octavia API. The
purpose of this middleware is to set up the request URL correctly in
the case there is a proxy (For instance, a loadbalancer such as HAProxy)
in front of Octavia API.

So, when TLS connections are terminated at the proxy, and one tries to
get the versions from the '/' resource from Octavia API, one will notice
that the protocol is incorrect; It will show 'http' instead of 'https'.
So this middleware handles such cases.

The HTTPProxyToWSGI is off by default and needs to be enabled via a
configuration value.

It can be enabled with the option in octavia.conf:
[oslo_middleware]
enable_proxy_headers_parsing=True

Story: 2005105
Task: 29732
Change-Id: I276188530a83598ed75560f02ed9d80ce9afca2f
2019-07-31 17:10:54 -07:00
..
audit Add auditing support to the Octavia API 2018-12-11 23:32:58 +00:00
certificates Fix multi-typo error in Octavia 2017-01-05 11:56:20 +08:00
dhcp Disbale DNS update for port o-hm0 in devstack 2016-07-18 04:45:32 -05:00
policy Fixing Octavia generating json named file containing yaml 2018-07-24 13:06:55 +00:00
octavia.conf Add support for oslo_middleware http_proxy_to_wsgi 2019-07-31 17:10:54 -07:00