Default communishift to tcp mode
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
This commit is contained in:
parent
a2acf45321
commit
1855a459f9
1 changed files with 6 additions and 2 deletions
|
@ -16,8 +16,8 @@ global
|
||||||
|
|
||||||
defaults
|
defaults
|
||||||
log global
|
log global
|
||||||
mode http
|
mode tcp
|
||||||
option httplog
|
option tcplog
|
||||||
option dontlognull
|
option dontlognull
|
||||||
option httpclose
|
option httpclose
|
||||||
option redispatch
|
option redispatch
|
||||||
|
@ -28,10 +28,14 @@ defaults
|
||||||
timeout server 500s
|
timeout server 500s
|
||||||
|
|
||||||
frontend stats-frontend
|
frontend stats-frontend
|
||||||
|
mode http
|
||||||
|
option httplog
|
||||||
bind 0.0.0.0:8080
|
bind 0.0.0.0:8080
|
||||||
default_backend stats-backend
|
default_backend stats-backend
|
||||||
|
|
||||||
backend stats-backend
|
backend stats-backend
|
||||||
|
mode http
|
||||||
|
option httplog
|
||||||
balance hdr(appserver)
|
balance hdr(appserver)
|
||||||
stats enable
|
stats enable
|
||||||
stats uri /
|
stats uri /
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue