We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f692f1 commit d07d9b1Copy full SHA for d07d9b1
load-balancers/haproxy.template.cfg
@@ -23,6 +23,7 @@ frontend hvt-frontend from hvt-defaults
23
acl letsencrypt-acl path_beg /.well-known/acme-challenge/
24
use_backend letsencrypt-backend if letsencrypt-acl
25
26
+ # Redirect to https if using http
27
http-request redirect scheme https unless { ssl_fc }
28
29
stats enable
@@ -35,6 +36,7 @@ frontend hvt-frontend from hvt-defaults
35
36
37
default_backend hvt-web
38
39
+# Proxy to letsencrypt backend
40
backend letsencrypt-backend from hvt-defaults
41
server certbot host.docker.internal:8888
42
0 commit comments