Commit 39254fa6 authored by Lukáš Lalinský's avatar Lukáš Lalinský

Fix health

parent 264c555b
Pipeline #20295 passed with stage
in 38 seconds
......@@ -110,9 +110,9 @@ userlist users_{{.Name}}
frontend fe_http
bind *:80
acl is_health path_beg /_health
use_backend be_utils if is_health
acl is_letsencrypt path_beg /.well-known/acme-challenge
redirect scheme https code 301 if !is_letsencrypt
redirect scheme https code 301 if !is_letsencrypt !is_health
use_backend be_utils if is_health
use_backend be_letsencrypt if is_letsencrypt
frontend fe_https
......
......@@ -134,9 +134,9 @@ userlist users_example2
frontend fe_http
bind *:80
acl is_health path_beg /_health
use_backend be_utils if is_health
acl is_letsencrypt path_beg /.well-known/acme-challenge
redirect scheme https code 301 if !is_letsencrypt
redirect scheme https code 301 if !is_letsencrypt !is_health
use_backend be_utils if is_health
use_backend be_letsencrypt if is_letsencrypt
frontend fe_https
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment