diff --git a/haproxy.cfg b/haproxy.cfg index f085282..fa48411 100644 --- a/haproxy.cfg +++ b/haproxy.cfg @@ -40,6 +40,8 @@ frontend http-in mode http reqadd X-Forwarded-Proto:\ http + http-response set-header X-Frontend lv1 + use_backend letsencrypt if { path_beg -i /.well-known/acme-challenge } default_backend redirect-to-https @@ -58,6 +60,8 @@ frontend http-ac-in mode http reqadd X-Forwarded-Proto:\ http + http-response set-header X-Frontend lv1 + use_backend letsencrypt-lv1 if { path_beg -i /.well-known/acme-challenge } backend letsencrypt-lv1