diff --git a/templates/haproxy.cfg.j2 b/templates/haproxy.cfg.j2 index 4693505..e88d608 100644 --- a/templates/haproxy.cfg.j2 +++ b/templates/haproxy.cfg.j2 @@ -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