forwardfor in 1.6

2015-04-17 Thread Reinis Rozitis
it broke - the header isn't passed anymore so had to revert back. Sniffed with tcpdump and indeed there are no headers with the (real)client ip anymore. I have additional http-request set-header HTTPS %[ssl_fc] - which is still passed fine. Am I missing something? wbr Reinis Rozitis

spdy tcp inspect

2014-08-04 Thread Reinis Rozitis
Hello, is it possible to inspect http headers (like hostname/uri) and do backend switching in tcp mode via spdy? My config is something like: ... frontend app bind :443 ssl crt cert.pem npn spdy/3.1,http/1.1 tcp-request inspect-delay 5s tcp-request content accept if HTTP acl is_upload

Re: SPDY fails

2014-07-28 Thread Reinis Rozitis
I don't see why it would fail, you could share a tcpdump capture of the TLS handshake? https://www.cloudshark.org/captures/c237da70245a 194.19.225.226 - client ip (latest Chrome) 213.175.75.10 - backend ip (spdy on port 88) 213.175.75.238 - haproxy rr

Re: SPDY fails

2014-07-28 Thread Reinis Rozitis
Looks ok as well (but the actual NPN selection is encrypted). Could you try: - just announcing spdy/3.1 via NPN, removing http/1.1 Really confused now - I could swear I tried this one out before and it wasn't working. Now when I removed the http/1.1 the ssl_fc_npn contains spdy/3.1 and

SPDY fails

2014-07-21 Thread Reinis Rozitis
Hello, I'm trying to implement the haproxy nginx spdy / ssl offloading setup, but somehow it is not working for me. For simplicity I used https://gist.github.com/igrigorik/8960971 haproxy config, but while testing with Chrome and FF the spdy is never enabled nor the spdy backend is chosen.

Re: Haproxy support for HTTPS (SSL) backend servers

2010-10-19 Thread Reinis Rozitis
Have you tried Varnish? http://www.varnish-cache.org/ It's intended as a caching proxy but can do what you're after perfectly well. Also if there's anything it can't do, you can in-line drop in to C in the config files and make it do it! As far as I know varnish doesnt support SSL (neither

Re: Haproxy support for HTTPS (SSL) backend servers

2010-10-18 Thread Reinis Rozitis
I meant the features that need to parse the HTTP request and do things based on it.. So tcp/raw mode won't work.. Thanks for the reply though! -- Pasi I think you are better in this case using 'nginx' for example - http://wiki.nginx.org/HttpProxyModule (can do ACL / rewrites / header change