Invalid 301 redirect target URL on haproxy.org

2016-06-09 Thread Holger Just
Hi, when navigating to a directory of the downloads section on haproxy.org while omitting the trailing slash, e.g. http://www.haproxy.org/download/1.5 the response is a 301 redirect to http://www.haproxy.org:81/download/1.5/ which I assume is generated by the backend Apache by adding

Re: Rewriting Host Based on Path and Changing the Path

2016-06-09 Thread Chaim Keren-Tzion
Note, the TLD and domain can also change and must be part of the regex. 'static' is the only string which will not change. In all cases where it is the subdomain we want it to be removed and replaced by the first element of the path. That element should also be removed from the path.

Re: Rewriting Host Based on Path and Changing the Path

2016-06-09 Thread Chaim Keren-Tzion
Hi, Thanks. # haproxy -vv HA-Proxy version 1.6.4 2016/03/13 Copyright 2000-2016 Willy Tarreau Build options : TARGET = linux2628 CPU = generic CC = gcc CFLAGS = -m64 -march=x86-64 -O2 -g -fno-strict-aliasing -Wdeclaration-after-statement OPTIONS =

Re: external-check stdout ends up in load-balanced traffic, destroying tcp sessions

2016-06-09 Thread Lukas Erlacher
Ah, this is fun :D Running this haproxy built from git: > erlacher@vmrbg81:~/haproxy$ sudo ./haproxy -vv > HA-Proxy version 1.7-dev3-4b788f-35 2016/06/08 > Copyright 2000-2016 Willy Tarreau > > Build options : > TARGET = linux2628 > CPU = generic > CC = gcc >

Rewriting Host Based on Path and Changing the Path

2016-06-09 Thread Chaim Keren-Tzion
Hi, Is there a way to rewrite the Host based on Path? I'm trying to redirect all requests of type: static.domain.com/site1/resource.jpgstatic.domain.com/site1/resource2.jsstatic.domain.com/site2/resource3.gifstatic.domain.com/site2/someDir/resource4.txt to site1.domain.com/resource.jpg

Re: Rewriting Host Based on Path and Changing the Path

2016-06-09 Thread Aleksandar Lazic
Hi. Am 09-06-2016 11:18, schrieb Chaim Keren-Tzion: Hi, Is there a way to rewrite the Host based on Path? I'm trying to redirect all requests of type: static.domain.com/site1/resource.jpg static.domain.com/site1/resource2.js static.domain.com/site2/resource3.gif

external-check error ??

2016-06-09 Thread Hugo Delval
Hi everyone, I'm quite new with Haproxy and I have a weird behavior with external check.. here is my config file : global log /dev/loglocal0 log /dev/loglocal1 notice chroot /var/lib/haproxy stats socket /run/haproxy/admin.sock mode 660 level admin stats timeout 30s

Re: external-check error ??

2016-06-09 Thread Holger Just
Hi Hugo Hugo Delval wrote: > global > # [...] > chroot /var/lib/haproxy > > # [...] > > backend web-backend > balance roundrobin > option external-check > external-check path "/usr/bin:/bin:/tmp" > external-check command /bin/true > server web1 127.0.0.1:80 check >

SNI healthcheck on backend?

2016-06-09 Thread rainer
Hi, I came upon this thread: http://discourse.haproxy.org/t/can-1-6-do-sni-on-backend/278/12 Is this true? I can't do healthchecks on a backend that needs to do SNI to the target-server? BTW: is there a (public) bug-database for haproxy? I couldn't find one on the web-page. As haproxy

Re: HTTP Keep Alive : Limit number of sessions in a connection

2016-06-09 Thread Manas Gupta
On Wed, Jun 8, 2016 at 10:44 PM, Willy Tarreau wrote: > On Wed, Jun 08, 2016 at 10:00:04PM -0700, Manas Gupta wrote: >> >> So I have a component which issues a lot of requests over a keep-alive >> >> connection to HAProxy. In the middle there is a TCP Load Balancer >> >> (hardware)

É isso aqui?

2016-06-09 Thread MDF Tecnologia
Bom dia! Qual dos itens abaixo mais te interessa? Suporte Técnico Websites Servidores Storage e Armazenamento na Nuvem Projetos WiFi Economia em Telefonia / PABX Link de Internet Hospedagem para sites Se algum desses itens for de seu interesse, você poderá responder este e-mail que

Re: SNI healthcheck on backend?

2016-06-09 Thread Ray Cote
On Thu, Jun 9, 2016 at 12:10 PM, wrote: > http://discourse.haproxy.org/t/can-1-6-do-sni-on-backend/278/12 > I’ve been looking for an official place to post a request ticket for this (I’m the originator of that thread). Yes, it does seem that HAProxy 1.6 does not send the

Soutenez les Bleus avec le kit supporter officiel de la Fédération Française de Foot

2016-06-09 Thread Tous Bleus
Si vous n’arrivez pas à visualiser cet email, cliquez ici. - FFF METTEZ VOUS AUX COULEURS DE L’EQUIPE DE FRANCE POUR L’EURO 2016 Avec votre kit supporter officiel FFF, affichez la couleur et représentez l’équipe des bleus, où que vous soyez. ON VA GAGNER ! POUR

Re: TLS version by hostname

2016-06-09 Thread Andrew Smalley
Hi Ed Id say what you are asking is a no with a single vip. However if you chain a vip with all ssl tls allowed on the first vip with an acl Then rather than your backend being real servers make the backend 2 more vips one with the tls version and another without that would work very well for

TLS version by hostname

2016-06-09 Thread Eduard Martinescu
Some googling didn't turn up what I was looking for so I thought I would ask here. Is it possible to enable different TLS version on a per hostname basis vis SNI? So, with a single frontend ssl_app bind 10.0.0.1:443 ssl crt mycrt crt /my/crt/directory Is there a way for that ssl_app

Re: Rewriting Host Based on Path and Changing the Path

2016-06-09 Thread Aleksandar Lazic
Hi. Am 09-06-2016 14:27, schrieb Chaim Keren-Tzion: Note, the TLD and domain can also change and must be part of the regex. 'static' is the only string which will not change. In all cases where it is the subdomain we want it to be removed and replaced by the first element of the path. That