|
|
|
|
|
by ajcornett
3132 days ago
|
|
We are using https://github.com/janeczku/haproxy-acme-validation-plugin to provide ACME support directly in HAProxy without an extra backend. Example: frontend example.com
bind 192.168.1.100:80
# Redirect ACME domain validations
acl url_acme_http01 path_beg /.well-known/acme-challenge/
http-request use-service lua.acme-http01 if METH_GET url_acme_http01
# Redirect all plain HTTP traffic to HTTPS
redirect scheme https code 301 if !{ ssl_fc }
|
|