Skip to content

Commit

Permalink
fix: support ipv6 and ipv4
Browse files Browse the repository at this point in the history
  • Loading branch information
JacobCoffee committed Nov 8, 2024
1 parent dd17288 commit 587e709
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion salt/haproxy/config/haproxy.cfg.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ frontend main
bind 127.0.0.1:19001 # This is our TLS socket.

# Define a stick table for all services
stick-table type ip size 100k expire 30s store http_req_rate(10s)
stick-table type ipv6 size 100k expire 30s store http_req_rate(10s)
# Track all requests using a single counter
# We could use the 3 available (sc0,1,2) to maybe tier requests
# into say <=100, 101-500, >= 501 if we needed to?
Expand Down

0 comments on commit 587e709

Please sign in to comment.