# На фронтенде :80 # Let's Encrypt URL acl letsencrypt_url path_beg /.well-known/acme-challenge/ # Не пробрасывать на HTTPS http-request redirect scheme https if !{ ssl_fc } !no-https-domains !letsencrypt_url # Let's Encrypt backend use_backend be_letsencrypt if letsencrypt_url # Бэкенд backend be_letsencrypt server letsencrypt 127.0.0.1:54321