400 errors caused by loadbalancer

Jodok Batlogg jodok at lovelysystems.com
Mon Jan 28 00:06:21 MSK 2008


hi,

my loadbalancer (big-ip) causes 400 errors in the logfile. if found http://wiki.codemongers.com/HWLoadbalancerCheckErrors
but it doesn't work for me. any idea?

thanks

jodok

here is my config:

http {
...
   geo $lb  {
     default              0;
     10.228.22.225/32     1; # o2lb01
     10.228.22.226/32     1; # o2lb01-1
     10.228.22.227/32     1; # o2lb01-2
   }
...
server {
...
     error_page 400 /400;
     location = '/400' {
         if ($lb) { access_log  off; }
         return 400;
     }
...
}

my log-file:

10.228.22.226 - - [27/Jan/2008:22:01:23 +0100] "-" 400 0 "-" "-"
10.228.22.227 - - [27/Jan/2008:22:01:25 +0100] "-" 400 0 "-" "-"
10.228.22.226 - - [27/Jan/2008:22:01:28 +0100] "-" 400 0 "-" "-"
10.228.22.227 - - [27/Jan/2008:22:01:30 +0100] "-" 400 0 "-" "-"
10.228.22.226 - - [27/Jan/2008:22:01:33 +0100] "-" 400 0 "-" "-"
10.228.22.227 - - [27/Jan/2008:22:01:35 +0100] "-" 400 0 "-" "-"






More information about the nginx mailing list