guys,
we have setup an haproxy for http and ssl traffic, so far all worked
as expected. but today looking at the "request logs" each time some
user goes to the ssl part of the site I can see in the logs
"<BADREQ>" but the request goes just fine. what does this mean? how do
I fix this?
Nov 9 08:14:59 localhost.localdomain haproxy[14783]:
190.191.225.213:50871 [09/Nov/2009:08:14:59.167] load_balanced_http
load_balanced_http/webserver4 0/0/2/7/348 200 9950 - - ---- 0/0/0/0/0
0/0 "GET / HTTP/1.1"
Nov 9 08:15:03 localhost.localdomain haproxy[14783]:
190.191.225.213:50885 [09/Nov/2009:08:15:02.590] load_balanced_https
load_balanced_https/webserver2 -1/1/1/-1/828 200 11497 - - ----
0/0/0/0/0 0/0 "<BADREQ>"
this is my current configuration
global
maxconn 15000 # Total Max Connections.
log 127.0.0.1 local0
log 127.0.0.1 local1 notice
daemon
nbproc 1 # Number of processes
user haproxy
group haproxy
defaults
log global
option httplog
mode tcp
clitimeout 60000
srvtimeout 30000
contimeout 4000
retries 3
option redispatch
listen load_balanced_https AAA.BBB.CCC.DDD:443
balance source
option ssl-hello-chk
mode tcp
option httpclose
option forwardfor
server webserver1 AAA.BBB.CCC.DDD weight 1 maxconn 5000 check
server webserver2 AAA.BBB.CCC.DDD weight 1 maxconn 5000 check
listen load_balanced_http AAA.BBB.CCC.DDD:80
balance roundrobin
mode http
option forwardfor
server webserver4 AAA.BBB.CCC.DDD weight 1 maxconn 5000 check
server webserver3 AAA.BBB.CCC.DDD weight 1 maxconn 5000 check
server webserver5 AAA.BBB.CCC.DDD weight 1 maxconn 5000 check backup
listen admin_stats 127.0.0.1:80
mode http
stats uri /proxy-stats
stats realm Global\ statistics
--
Gabriel Sosa
Si buscas resultados distintos, no hagas siempre lo mismo. - Einstein