Vadnir commited on
Commit
635963e
·
1 Parent(s): a2dfbfa

Create haproxy.cfg

Browse files
Files changed (1) hide show
  1. haproxy.cfg +27 -0
haproxy.cfg ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ global
2
+ log 127.0.0.1 local0
3
+ log 127.0.0.1 local1 notice
4
+ chroot /var/lib/haproxy
5
+ user haproxy
6
+ group haproxy
7
+ # daemon
8
+
9
+ defaults
10
+ log global
11
+ mode http
12
+ option httplog
13
+ option dontlognull
14
+ timeout connect 5000ms
15
+ timeout client 50000ms
16
+ timeout server 50000ms
17
+ errorfile 400 /etc/haproxy/errors/400.http
18
+ errorfile 403 /etc/haproxy/errors/403.http
19
+ errorfile 408 /etc/haproxy/errors/408.http
20
+ errorfile 500 /etc/haproxy/errors/500.http
21
+ errorfile 502 /etc/haproxy/errors/502.http
22
+ errorfile 503 /etc/haproxy/errors/503.http
23
+ errorfile 504 /etc/haproxy/errors/504.http
24
+
25
+ listen stats :80
26
+ stats enable
27
+ stats uri /