Skip to content

Commit

Permalink
chore: add states
Browse files Browse the repository at this point in the history
  • Loading branch information
tanmoysrt committed Jun 18, 2024
1 parent a968d85 commit 0374ba3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions haproxy.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ global
pidfile /run/haproxy.pid
maxconn 4000

# Turn on stats unix socket
server-state-file /var/lib/haproxy/server-state

defaults
mode http
log global
Expand All @@ -22,6 +25,9 @@ defaults
timeout check 10s
maxconn 3000

# Allow seamless reloads
load-server-state-from-file global

# Use provided example error pages
errorfile 400 /usr/local/etc/haproxy/errors/400.http
errorfile 403 /usr/local/etc/haproxy/errors/403.http
Expand Down

0 comments on commit 0374ba3

Please sign in to comment.