Merge "[horizon] Move 'balance' HAProxy keyword"

This commit is contained in:
Zuul 2020-04-16 15:33:41 +00:00 committed by Gerrit Code Review
commit 6cd0cfea36
2 changed files with 7 additions and 2 deletions

View File

@ -45,7 +45,7 @@ horizon_services:
external: false
port: "{% if kolla_enable_tls_internal|bool %}443{% else %}{{ horizon_port }}{% endif %}"
listen_port: "{{ horizon_listen_port }}"
frontend_http_extra:
backend_http_extra:
- "balance source"
horizon_redirect:
enabled: "{{ enable_horizon|bool and kolla_enable_tls_internal|bool }}"
@ -59,7 +59,7 @@ horizon_services:
external: true
port: "{% if kolla_enable_tls_external|bool %}443{% else %}{{ horizon_port }}{% endif %}"
listen_port: "{{ horizon_listen_port }}"
frontend_http_extra:
backend_http_extra:
- "balance source"
horizon_external_redirect:
enabled: "{{ enable_horizon|bool and kolla_enable_tls_external|bool }}"

View File

@ -0,0 +1,5 @@
---
fixes:
- |
Fixes source-IP-based load balancing for Horizon when using the
"split" HAProxy service template.