Merge "Fix indentation of HAProxy internal http-request config"

This commit is contained in:
Zuul 2019-11-06 12:06:40 +00:00 committed by Gerrit Code Review
commit 56f355136a

View File

@ -46,7 +46,7 @@ listen {{ service_name }}
{% if service_mode == 'http' %}
{% set tls_option = internal_tls_bind_info %}
{# Replace the XFP header for internal https requests #}
http-request set-header X-Forwarded-Proto https if { ssl_fc }
http-request set-header X-Forwarded-Proto https if { ssl_fc }
{% endif %}
{% endif %}
{{ "bind %s:%s %s"|e|format(vip_address, service_port, tls_option)|trim() }}