Fix indentation of HAProxy internal http-request config

Related: blueprint add-ssl-internal-network
Co-Authored-By: generalfuzz <generalfuzz@gmail.com>

Change-Id: Ib79796d49c415d8314ea5661a16bd2dac8ba7188
This commit is contained in:
Mark Goddard 2019-11-05 14:29:41 +00:00
parent 0fe5fa831a
commit 76ae7eff7f
1 changed files with 1 additions and 1 deletions

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() }}