Welcome! Log In Create A New Profile

Advanced

Re: 400 response HTTP code logged when using Haproxy 'option ssl-hello-chk'

Maxim Dounin
February 10, 2012 08:50AM
Hello!

On Fri, Feb 10, 2012 at 04:01:16AM -0500, trojan2748 wrote:

> Hello,
> We're using haproxy to load balance SSL between two nginx servers.
> We're using 'option ssl-hello-chk' for health monitoring in haproxy's
> config. The problem is it's flooding our logs with 400 errors every 2
> seconds. Is there a way to stop this?

If you don't want to see 400 errors, you may try something like
this (in a default server block):


error_page 400 /nolog;

location = /error_400 {
access_log off;
return 400;
}

Maxim Dounin

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Re: 400 response HTTP code logged when using Haproxy 'option ssl-hello-chk'

Maxim Dounin February 10, 2012 08:50AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 146
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready