This commit is contained in:
albert 2024-09-30 05:10:03 +02:00
parent b0facd2d44
commit 76d84f7100
Signed by: albert
GPG key ID: 3895DD267CA11BA9

View file

@ -67,8 +67,8 @@
bind :80
# bind :443 ssl crt /Storage/Data/Docker/sysctl.io/letsencrypt/external/*.sysctl.io/combined.pem
# acl is-blocked-ip src -f /etc/haproxy-blocked-ips
# http-request deny if is-blocked-ip
acl is-blocked-ip src -f /etc/haproxy-blocked-ips
http-request deny if is-blocked-ip
http-request redirect scheme https unless { ssl_fc }
default_backend backend_http
@ -85,8 +85,8 @@
bind :4443
bind :443
# acl is-blocked-ip src -f /etc/haproxy-blocked-ips
# http-request deny if is-blocked-ip
acl is-blocked-ip src -f /etc/haproxy-blocked-ips
http-request deny if is-blocked-ip
default_backend backend_tcp
backend backend_tcp