Fix haproxy configure for external placement api listen

Need listen on external ip address rather then internal.

Change-Id: Ic1b8823b97e52793088cf1f82625107c69ec345b
This commit is contained in:
Jeffrey Zhang 2017-02-14 20:22:38 +08:00
parent c41bd291cc
commit 70d1dcb397

@ -166,7 +166,7 @@ listen nova_metadata_external
{% endfor %}
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 set-header X-Forwarded-Proto https if { ssl_fc }
{% for host in groups['placement-api'] %}