Skip to content
Snippets Groups Projects
Commit 76ae7eff authored by Mark Goddard's avatar Mark Goddard
Browse files

Fix indentation of HAProxy internal http-request config


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

Change-Id: Ib79796d49c415d8314ea5661a16bd2dac8ba7188
parent 0fe5fa83
No related branches found
No related tags found
No related merge requests found
...@@ -46,7 +46,7 @@ listen {{ service_name }} ...@@ -46,7 +46,7 @@ listen {{ service_name }}
{% if service_mode == 'http' %} {% if service_mode == 'http' %}
{% set tls_option = internal_tls_bind_info %} {% set tls_option = internal_tls_bind_info %}
{# Replace the XFP header for internal https requests #} {# 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 %}
{% endif %} {% endif %}
{{ "bind %s:%s %s"|e|format(vip_address, service_port, tls_option)|trim() }} {{ "bind %s:%s %s"|e|format(vip_address, service_port, tls_option)|trim() }}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment