-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathhaproxy.config
37 lines (35 loc) · 994 Bytes
/
haproxy.config
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
global
log /dev/log local0
chroot /var/lib/haproxy
pidfile /var/run/haproxy.pid
maxconn 4000
user haproxy
group haproxy
daemon
# turn on stats unix socket
stats socket /var/lib/haproxy/stats
defaults
mode tcp
log global
option tcplog
option logasap
option dontlognull
option http-server-close
option redispatch
retries 3
timeout http-request 10s
timeout queue 1m
timeout connect 10s
timeout client 1m
timeout server 1m
timeout http-keep-alive 10s
timeout check 10s
maxconn 3000
listen https
bind *:443
mode tcp
balance leastconn
stick match src
stick-table type ip size 200k expire 30m
server s1 attendees-grummer-throng.cfapps.pcfeaglelegacy.cf-app.com:443
server s2 attendees-grummer-throng.cfapps.pcfeaglelegacy.cf-app.com:443