Enable proxy header parsing

Ensure that oslo.middleware parses any proxy information
forwarded from haproxy/apache with regards to protocol;
this ensures that https connections are correctly detected.

Includes charm helper sync to bring in oslo middleware
template.

Change-Id: If1f3913967082618e7004d4b552d14fc2fe7b937
Closes-Bug: 1758675
This commit is contained in:
Liam Young 2018-04-23 13:56:48 +00:00 committed by Nobuto Murata
parent 632a19550f
commit b53e83c465
4 changed files with 8 additions and 0 deletions

View File

@ -117,3 +117,5 @@ lock_path = $state_path/lock
{% if enable_designate -%}
{% include "parts/section-designate" %}
{% endif -%}
{% include "section-oslo-middleware" %}

View File

@ -121,3 +121,5 @@ lock_path = $state_path/lock
[service_providers]
service_provider = LOADBALANCERV2:Haproxy:neutron_lbaas.drivers.haproxy.plugin_driver.HaproxyOnHostPluginDriver:default
service_provider = VPN:strongswan:neutron_vpnaas.services.vpn.service_drivers.ipsec.IPsecVPNDriver:default
{% include "section-oslo-middleware" %}

View File

@ -123,3 +123,5 @@ lock_path = $state_path/lock
[service_providers]
service_provider = LOADBALANCERV2:Haproxy:neutron_lbaas.drivers.haproxy.plugin_driver.HaproxyOnHostPluginDriver:default
service_provider = VPN:strongswan:neutron_vpnaas.services.vpn.service_drivers.ipsec.IPsecVPNDriver:default
{% include "section-oslo-middleware" %}

View File

@ -122,3 +122,5 @@ lock_path = $state_path/lock
[service_providers]
service_provider = LOADBALANCERV2:Haproxy:neutron_lbaas.drivers.haproxy.plugin_driver.HaproxyOnHostPluginDriver:default
{% include "section-oslo-middleware" %}