Merge "Fix indentation of HAProxy internal http-request config"
This commit is contained in:
commit
56f355136a
@ -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() }}
|
||||||
|
Loading…
Reference in New Issue
Block a user