Skip to content

Commit

Permalink
fix tls redirect acl
Browse files Browse the repository at this point in the history
  • Loading branch information
ewdurbin committed Dec 18, 2024
1 parent 6a285da commit 56a4569
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions salt/haproxy/config/haproxy.cfg.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@ frontend main
bind :20001 accept-proxy
bind 0.0.0.0:80
bind :::80
bind 127.0.0.1:19001 # This is our TLS socket.

# HTTPS Binds
# Advertise http/1.1 over NPN to enable TLS False Start
Expand Down Expand Up @@ -134,7 +133,7 @@ frontend main
use_backend letsencrypt-well-known if letsencrypt-well-known-acl

# Determine if this request has TLS on the client side or not.
acl is_tls dst_port 19001
acl is_tls ssl_fc

acl our_domains hdr(host) -i -f /etc/haproxy/our_domains

Expand Down

0 comments on commit 56a4569

Please sign in to comment.