Skip to content

Commit d07d9b1

Browse files
committed
docs: add comments
1 parent 1f692f1 commit d07d9b1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

load-balancers/haproxy.template.cfg

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ frontend hvt-frontend from hvt-defaults
2323
acl letsencrypt-acl path_beg /.well-known/acme-challenge/
2424
use_backend letsencrypt-backend if letsencrypt-acl
2525

26+
# Redirect to https if using http
2627
http-request redirect scheme https unless { ssl_fc }
2728

2829
stats enable
@@ -35,6 +36,7 @@ frontend hvt-frontend from hvt-defaults
3536

3637
default_backend hvt-web
3738

39+
# Proxy to letsencrypt backend
3840
backend letsencrypt-backend from hvt-defaults
3941
server certbot host.docker.internal:8888
4042

0 commit comments

Comments
 (0)