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 |
||
---|---|---|
.. | ||
notes | ||
source |