Re: HAProxy returning 404

2015-12-21 Thread Baptiste
I'm seeing more a misconfigured web server whose virtualhost is sticked to the IP address and which can't route traffic which contains HAProxy's Virtual IP to the right virtual host ;) Baptiste On Mon, Dec 21, 2015 at 7:20 AM, Gaurav Sharma wrote: > Hi Baptiste / Willy , > > Same backend server

Re: HAProxy returning 404

2015-12-20 Thread Gaurav Sharma
Hi Baptiste / Willy , Same backend server is working with nginx reverse proxy. Below is output of haproxy -vv HA-Proxy version 1.5.11 2015/01/31 Copyright 2000-2015 Willy Tarreau Build options : TARGET = linux2628 CPU = generic CC = gcc CFLAGS = -g -O2 -fstack-protector --pa

Re: HAProxy returning 404

2015-12-20 Thread Willy Tarreau
Hi Baptiste, On Sat, Dec 19, 2015 at 11:18:36PM +0100, Baptiste wrote: > HAProxy can't return a 404. Your web server may be improperly configured. I'm seeing one possibility (which logs would obviously show), which is that he's using an older version of haproxy which defaults to tunnel mode, and

Re: HAProxy returning 404

2015-12-19 Thread Baptiste
Le 19 déc. 2015 1:28 PM, "Gaurav Sharma" a écrit : > > Hi , > > I am getting 404 not found from HAProxy , while if i hit direct backend server , i get 200 OK . > > Below is my configuration file :: > > > global > log /dev/log local0 debug > log /dev/log local0 notice > maxc

HAProxy returning 404

2015-12-19 Thread Gaurav Sharma
Hi , I am getting 404 not found from HAProxy , while if i hit direct backend server , i get 200 OK . Below is my configuration file :: global log /dev/log local0 debug log /dev/log local0 notice maxconn 35 userhaproxy group