0
votes
1answer
96 views

How to print out all request headers of HTTP requests on the server side?

I have a HAProxy configuration which balances requests to many servers. I want to compare the outgoing request headers when requests go thru HAProxy to the ones I would make directly to my servers. ...
0
votes
1answer
390 views

HAProxy redirect HTTPS to HTTP

I'm using HAProxy as a load balancer and i'd like to redirect any traffic that comes in on 443 (HTTPS) to 80 (HTTP). My site doesn't support HTTPS at all and i'd rather just redirect users than cause ...
1
vote
1answer
355 views

Compare HTTP load balacing using HAProxy & Nginx

My requirements: Weighted RR load balancing NO need sticky session support NO need SSL NO need HTTP 1.1 to backend So effectively I just need very simple HTTP load balacing!! My Boss asked to try ...
11
votes
2answers
5k views

Do HTTP reverse proxies typically enable HTTP Keep-Alive on the client side of the proxied connection and not on the server side?

HAProxy has the ability to enable HTTP keep-alive on the client side (client <-> HAProxy) but disable it on the server side (HAProxy <-> server). Some of our clients connect to our web service ...
1
vote
3answers
755 views

HAProxy - HTTP Server error detection

I want to use HAProxy for load balancing and failover of an Apache-PHP application hosted on many identical backend servers. Is there any way of detecting a failed node on HAproxy and removing it from ...
0
votes
0answers
200 views

Denying Favicon requests and sending a 404 response using HaProxy

I am trying to block all favicon requests and send back a 404. I use haproxy in front of 2 node js servers that acts as a web service. There is no need for node to handle these requests so I wanted to ...
1
vote
1answer
2k views

Forward real IP through Haproxy => Nginx => Unicorn

How do I forward the real visitors ip adress to Unicorn? The current setup is: Haproxy => Nginx => Unicorn How can I forward the real IP address from Haproxy, to Nginx, to Unicorn? Currently ...
0
votes
1answer
809 views

HAProxy first direct all trafic to primary if off direct to secondary if primary back redirect back to primary

How can i achive the following with HAProxy with regards to its simple tutorial found here: http://www.webhostingtalk.com/showthread.php?t=627783 I would to use HAProxy first direct all trafic to ...
1
vote
3answers
3k views

Alternative reverse proxy that supports HTTP 1.1, SSL, and keep-alive?

We are currently using nginx but we need to proxy upstream to haproxy using HTTP 1.1, which nginx's proxy module does not support. Is there an reliable, event-driven alternative to nginx that ...
1
vote
1answer
1k views

HTTP Webservers loadbalanced by HAProxy; VERY slow response for some requests

I have a strange problem when using HAProxy to loadbalance some webservers. The response through the load balance gets very slow sometimes... My script: global daemon quiet maxconn ...
3
votes
2answers
2k views

Nginx, HAproxy, Unicorn, Rails and Node settings

Our application is currently only a "regular" web app, with no fancy things like streaming HTTP or websockets. It's mostly a Rails app, served by a few (20 on 2 machines) Unicorn workers, proxied by a ...
1
vote
1answer
3k views

HaProxy - Http and SSL pass through config

I've currently got an HaProxy LB solution in place and everything is working fine however we are having an issue with a very few clients who cannot get to our site via HTTPS (SSL) they can browse our ...
2
votes
1answer
1k views

Stunnel too many clients

I'm trying to hook up stunnel and haproxy to forward https connections through to some backend servers. I've got haproxy setup right, and I seem to have stunnel set up right. Trouble is that when I ...
3
votes
1answer
5k views

HAProxy - forward to a different web server based on URI

I have an HTTP farm with the following configuration: listen webfarm 10.254.23.225:80 mode http balance roundrobin cookie SERVERID insert option httpclose option ...