From cee412b0351a291d24ec0c57f18a12aab7bea0d5 Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Mon, 5 Oct 2020 18:48:44 +0200 Subject: [PATCH] Try to clean all the warnings --- templates/haproxy.cfg.j2 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/templates/haproxy.cfg.j2 b/templates/haproxy.cfg.j2 index b160a29..b0a747a 100644 --- a/templates/haproxy.cfg.j2 +++ b/templates/haproxy.cfg.j2 @@ -78,7 +78,6 @@ frontend http mode http option http-keep-alive - redirect scheme https code 301 if !{ ssl_fc } http-request add-header X-Forwarded-Proto https # HSTS (63072000 seconds) http-response set-header Strict-Transport-Security max-age=63072000 @@ -99,7 +98,7 @@ frontend http http-request deny if {{ srv.acl_name }} !{{ srv.acl_name }}_nets {% endif %} {% endfor %} - + redirect scheme https code 301 if !{ ssl_fc } {% if docker_swarm_cluster_portainer_install %} use_backend portainer_bck if portainer_srv {% endif %}