Merge "Fix haproxy configure for external placement api listen"

This commit is contained in:
Jenkins 2017-02-14 15:22:40 +00:00 committed by Gerrit Code Review
commit e84fe597ed

View File

@ -166,7 +166,7 @@ listen nova_metadata_external
{% endfor %} {% endfor %}
listen placement_api_external listen placement_api_external
bind {{ kolla_internal_vip_address }}:{{ placement_api_port }} bind {{ kolla_external_vip_address }}:{{ placement_api_port }}
http-request del-header X-Forwarded-Proto http-request del-header X-Forwarded-Proto
http-request set-header X-Forwarded-Proto https if { ssl_fc } http-request set-header X-Forwarded-Proto https if { ssl_fc }
{% for host in groups['placement-api'] %} {% for host in groups['placement-api'] %}