Merge "Revert "Update Keystone haproxy config to balance based on source ip""
This commit is contained in:
commit
7f3dec3123
@ -75,7 +75,6 @@ listen mongodb
|
||||
{% if enable_keystone | bool %}
|
||||
listen keystone_internal
|
||||
bind {{ kolla_internal_vip_address }}:{{ keystone_public_port }}
|
||||
balance source
|
||||
http-request del-header X-Forwarded-Proto if { ssl_fc }
|
||||
{% for host in groups['keystone'] %}
|
||||
server {{ hostvars[host]['ansible_hostname'] }} {{ hostvars[host]['ansible_' + hostvars[host]['api_interface']]['ipv4']['address'] }}:{{ keystone_public_port }} check inter 2000 rise 2 fall 5
|
||||
@ -84,7 +83,6 @@ listen keystone_internal
|
||||
|
||||
listen keystone_external
|
||||
bind {{ kolla_external_vip_address }}:{{ keystone_public_port }} {{ tls_bind_info }}
|
||||
balance source
|
||||
http-request del-header X-Forwarded-Proto if { ssl_fc }
|
||||
http-request set-header X-Forwarded-Proto https if { ssl_fc }
|
||||
{% for host in groups['keystone'] %}
|
||||
@ -94,7 +92,6 @@ listen keystone_external
|
||||
|
||||
listen keystone_admin
|
||||
bind {{ kolla_internal_vip_address }}:{{ keystone_admin_port }}
|
||||
balance source
|
||||
http-request del-header X-Forwarded-Proto if { ssl_fc }
|
||||
{% for host in groups['keystone'] %}
|
||||
server {{ hostvars[host]['ansible_hostname'] }} {{ hostvars[host]['ansible_' + hostvars[host]['api_interface']]['ipv4']['address'] }}:{{ keystone_admin_port }} check inter 2000 rise 2 fall 5
|
||||
|
Loading…
x
Reference in New Issue
Block a user