Re: haproxy and nginx

From: Aleksandar Lazic <al-haproxy#none.at>
Date: Tue, 29 Jan 2008 10:54:35 +0100


Hi,

On Die 29.01.2008 09:52, florian iragne wrote:
>
> does anybody have any success using nginx and haproxy httpchk feature?

Yes.

> I try to use it but without success.
>
> with default httpchk, nginx answer : 192.168.2.1 - - [29/Jan/2008:09:11:32
> +0100] "OPTIONS / HTTP/1.0" 405 173 "-" "-" "-"
> with httpchk OPTIONS * HTTP/1.1\r\nHost: www, nginx answer : 192.168.2.1 - -
> [29/Jan/2008:09:12:45 +0100] "-" 400 173 "-" "-" "-"

http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html =>

---
10.4.6 405 Method Not Allowed

The method specified in the Request-Line is not allowed for the resource
identified by the Request-URI. The response MUST include an Allow header
containing a list of valid methods for the requested resource. 
---


> so, if you have any clue on how to make this working, i will be grateful
Try HEAD / instead OPTIONS. Btw.: What is in the nginx errorlog? Hth Aleks
Received on 2008/01/29 10:54

This archive was generated by hypermail 2.2.0 : 2008/01/29 11:00 CET