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.

Change-Id: I64e8c14123e5d12850902ce99490697ca4bb853d
Closes-Bug: 1758675
This commit is contained in:
James Page 2018-04-09 11:29:51 +01:00
parent e94947aea4
commit 50651ca6c0
2 changed files with 6 additions and 0 deletions

View File

@ -76,3 +76,6 @@ lock_path = /var/lock/cinder
# XXX: hack to work around http://pad.lv/1516085
# will be superseded by SRU to cinder package
encryption_auth_url = {{ service_protocol }}://{{ service_host }}:{{ service_port }}/v3
[oslo_middleware]
enable_proxy_headers_parsing = True

View File

@ -62,3 +62,6 @@ lock_path = /var/lock/cinder
# XXX: hack to work around http://pad.lv/1516085
# will be superseded by SRU to cinder package
encryption_auth_url = {{ service_protocol }}://{{ service_host }}:{{ service_port }}/v3
[oslo_middleware]
enable_proxy_headers_parsing = True