ec83c69372
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
9 lines
393 B
YAML
9 lines
393 B
YAML
---
|
|
features:
|
|
- |
|
|
Now supports ``oslo_middleware http_proxy_to_wsgi``, which will set up the
|
|
request URL correctly in the case that there is a proxy (for example, a
|
|
loadbalancer such as HAProxy) in front of the Octavia API. It is off by
|
|
default and can be enabled by setting ``enable_proxy_headers_parsing=True``
|
|
in the ``[oslo_middleware]`` section of ``octavia.conf``.
|