too many endif.

This commit is contained in:
Andrea Dell'Amico 2022-02-21 15:07:59 +01:00
parent cafc673ba5
commit d3c895bcff
Signed by: adellam
GPG Key ID: 147ABE6CEB9E20FF
1 changed files with 0 additions and 1 deletions

View File

@ -232,7 +232,6 @@ backend {{ srv.acl_name }}_bck
{% if srv.http_redirect_to_https %}
http-request set-header X-Forwarded-Proto https if { ssl_fc }
http-request redirect scheme https code 301 unless { ssl_fc }
{% endif %}
{% endif %}
server-template {{ srv.service_name }}- {{ srv.service_replica_num }} {{ srv.stack_name }}_{{ srv.service_name }}:{{ srv.service_port }} {{ srv.backend_options | default('') }} {% if srv.http_check_enabled is defined and srv.http_check_enabled %}check {{ srv.check_options | default('') }}{% endif %} resolvers docker init-addr libc,none