HAProxy is a open source, very fast and reliable solution offering high availability, load balancing, and proxying for TCP and HTTP-based applications. It is particularly suited for web sites crawling under very high loads while needing persistence or Layer7 processing.

learn more… | top users | synonyms

0
votes
1answer
17 views

Haproxy load balancing for download host

I'm rather new to load balancing concepts and wanted to use Haproxy to load balance between my web servers for a downloads site. I'm a bit confused as to how it works. The goal is to setup HAProxy to ...
0
votes
1answer
11 views

nginx or haproxy or varnish Multiple IP addresses, reverse proxy AND manual failover

Ok, so here is all that I'm trying to accomplish. Back Ground I have multiple IIS web servers, each running multiple web sites each with their own IP address. Each IIS "Web Site" through programming ...
0
votes
1answer
15 views

HAProxy - balance according to url_parameter

I have 2 different tomcat servers: T1 , T2 My clients that refer to my load balancer are providing the url parameter called "gender" (0 - for Male users , 1 - for Female users). only the url ...
-1
votes
0answers
16 views

Load balancing haproxy(s) themselves

Suppose I have many hundred web servers, where every 100 of them is balanced by haproxy. Is there a notion of balancing requests between the different haproxies? How can I achieve this, where the main ...
2
votes
1answer
30 views

Benchmarking load balaners

I am working on to benchmark two different load balancers (pound and haproxy), but are unsure how this can be done. Of couse httperf can be used, but it may be technically difficult to actually make a ...
0
votes
1answer
23 views

how to change the ftp passive mode ip address for haproxy work as reserve proxy?

I have an ftp server in LAN, address is 192.168.1.11 I used haproxy is because lots of other service need it I put haproxy on my 192.168.1.1 the same machine of our soft-route(ubuntu 14.04) My ...
0
votes
1answer
31 views

Force HAProxy to lookup DNS for backend server

I have haproxy 1.5.8, it proxies some requests (based on the path) to a third-party we have no control over. Since the IP of backend server is resolved once at startup, it breaks if the IP change. ...
-1
votes
2answers
28 views

haproxy vs squid ssl bump and dynamic generation

I would like to know if following 2 features of squid are available in haproxy? http://wiki.squid-cache.org/Features/DynamicSslCert http://wiki.squid-cache.org/Features/SslBump any help would be ...
1
vote
0answers
33 views

Ansible using role template vs copying static configuration file [closed]

I have been using ansible to manage the haproxy configurations for a few servers and I really like the tool. It makes deploying new servers and keeping the configurations in sync a breeze. One ...
1
vote
2answers
75 views

Is there any reason *not* to run HAProxy in a Docker container? [closed]

Will performance and/or stability suffer if I run HAProxy (or Nginx) in a container vs installing it directly on the host?
0
votes
1answer
44 views

Is there a way to raite limit connections with HaProxy using multiple thresholds

I've implemented simple rate limiting using HaProxy in a similar fashion to the way StackExchange does it with HaProxy. I'm trying to make it a bit more advanced so that there are multiple thresholds ...
0
votes
0answers
70 views

Nginx Echo Subrequest not working

I am new to Nginx. My requirement is I need to make a service call but along with proxy passing that request, I need to make call to another service/servlet. For this I decided to use Echo module to ...
0
votes
1answer
41 views

How does load balancing work for a coreOS cluster?

Preface: I don't know much about load balancing. Say I have a few virtual machines on a cloud service like Amazon, running a few instances of coreOS each. How exactly does load balancing work in ...
1
vote
0answers
57 views

nginx try_files redirect using wrong scheme when behind SSL termination load balancer (haproxy)

I have an nginx 1.6.2 server running as a backend behind a load balancer that does SSL termination. All communication to the backend servers goes over HTTP. Diagram of what's going on: ...
3
votes
0answers
97 views

Common back pressure strategies for services under sustained high load

I'm wondering what are the common backpressure strategies people use for their web services? Imagine your service operates under heavy load, and at some point the load reaches 120% of your capacity. ...
0
votes
0answers
37 views

How to configure HAProxy to use SNI for SSL enabled backends?

I have several backend web servers that have multiple vhosts and I want to use HAProxy in front of them. It doesn't appear that HAProxy is sending the hostname in the TLS connection to the backend ...
1
vote
1answer
26 views

Upgraded OpenSSL version with HAProxy

I'll make this short and to the point. I'm running HAProxy 1.5.5 with SSL support for SSL termination/offloading. Do I need to recompile HAProxy if I update/upgrade openssl, or just restart the ...
0
votes
1answer
37 views

HAProxy + Heartbeat cluster active/active?

I have 2 servers running HAProxy to load balance some web servers and database servers with Heartbeat to cluster them in active/passive mode. At the moment, if the active server dies then the passive ...
0
votes
0answers
39 views

Expanding HAProxy health check to monitor MongoDB primary and secondary state

Follow up question regarding the MongoDB health check with HAProxy How to construct a MongoDB Health Check in HAProxy? The current solution works well when the focus is on determining if mongo ...
0
votes
1answer
56 views

Haproxy setup with subdomain setup

Hoping someone can help confirm if this suppose to work? I'm trying to route 3 subdomain traffic to the same haproxy host; Here is my setup haproxy with one interface ip 10.10.10.100 and dns name ...
0
votes
0answers
29 views

HAProxy backend not draining

I am using two seperate haproxy clusters to load balance web farm and appfarm. Its a very simple setup. HAproxy cluster on DMZ distributes SSL traffic accross web farm and HAproxy cluster on app ...
0
votes
0answers
81 views

pfSense 2.2: HAProxy for HTTP + CARP + MultiWAN with VIPs issue (Outbound NAT?)

I have two pfSense firewalls with CARP setup, 2 WANs and HAProxy that points to HTTP servers in my LAN. Scheme: **pfSense server #1** ISP#1 - Public IP1.1 - pfSense#1 with HAProxy - HTTP ISP#2 - ...
0
votes
1answer
26 views

HAProxy loadbalancing wildcards

This is an example of my loadbalancer file for a single DNS entry. acl: - 'is_site_net hdr(host) -i site.net’ use_backend: - 'site_net if is_site.net whitelist_list’ site_net: options: ...
1
vote
0answers
59 views

Haproxy backend server down due to layer 6 invalid response failed ssl handashake?

The scenario is we have two servers which are in different network . We want to have ssl communication from client to front-end and from front-end to back-end ! the front-end able to get ssl ...
0
votes
1answer
26 views

Is return traffic for SSL-enabled HAProxy secured also?

I've got a HAProxy in front of a number of Webservers. Connection from clients to HAProxy is SSL secured. But it is terminated at HAProxy and traffic from HAProxy to the underlying Webservers are in ...
0
votes
0answers
9 views

AWS ELB 400 BAD_REQUEST with space at the end of a URI

We're using AWS ELB for HTTP/S load balancing, and we've run into a pretty crazy issue with the ELB. $ curl -i "http://yourdomain.com/ " HTTP/1.1 400 BAD_REQUEST Content-Length: 0 Connection: Close ...
1
vote
1answer
104 views

Keepalived + Haproxy performance, apache or nginx? [duplicate]

I have a question about Keepalived + Haproxy. At work I am assigned to deploy a redundant web server with Keepalived and Haproxy. Our setup at the moment is as follows: Apache (as load balancer) + ...
0
votes
1answer
61 views

Blocking SSH Brute force from a HAProxy LB

We're trying to grant access to an internal SSH server using a HAProxy setup on a public DMZ. This works as expected however connections into the server are originated from the HAProxy (tproxy won't ...
0
votes
0answers
40 views

disable keep-alive for one user agent in haproxy

in my defaults haproxy config block I have this: mode http option abortonclose option http-server-close option forwardfor We updated our mobile app to iOS 8 just to find out that there are ...
0
votes
0answers
59 views

haproxy: WebDAV simply won't work with Microsoft Windows

So I have HAproxy listening for http/https on a virtual IP. I have two Apache2 (apacheserver1 and apacheserver2) servers serving web traffic. Everything is working fine - I am serving web pages, my ...
0
votes
0answers
28 views

How to configure HAproxy with weight and cookie stickiness?

I have two web servers. web01 and web02. they have different code on them. I want most of my connections to reach web01 and few to reach web02. I want to have cookie stickiness (not source ...
1
vote
1answer
71 views

HAProxy FrontEnd's IP Added to Header

Using HAProxy 1.5, is it possible to add a request header whose value is the IP address used by a frontend whose bind uses a wildcard? For example, given the following configuration, is there ...
0
votes
0answers
41 views

How haproxy understand URLs, URI, HOSTs

I know that haproxy understand urls, but here when I want to test if haproxy is up I acess the machine name at browser and it redirects to the desired node.js server. This request is usually a ...
0
votes
2answers
47 views

SNI for multi tenant load balancing in 2015

We're a multi-tenant service and terminate our SSL at our load balancers (HAProxy + Apache for SSL termination), this has caused growing pains due to dedicated IP requirements. But times have changed ...
0
votes
0answers
48 views

How to config iptables to forward connection from/to internal VM

I have an host with proxmox and some virtual machine installed, the first machine is a proxy with haproxy that forward the request to other VM and in proxmox host i have this iptables script: ...
0
votes
0answers
32 views

Inject header in HAProxy redirect function

I have HAProxy 1.5.8. I have this basic 301 rule : frontend http_frontend bind *:80 mode http redirect location https://xxxx.com code 301 The response looks like this : HTTP/1.1 301 Moved ...
0
votes
0answers
45 views

Can haproxy run user-defined shell script for healthy checking?

When configuring HAProxy, we can assign user-defined checker by using a .sh script and xinetd. I wonder why does not HAProxy call the script directly and check exit code? I'm using ubuntu 12.04 LTS. ...
0
votes
0answers
39 views

Multiple conditions in redirect for HAProxy

I'm having some difficulties using the redirect option when having multiple named ACL's I'd like to use for conditions. Say I have five hostnames that I have put into named ACL's and now I want to ...
0
votes
1answer
43 views

It is possible to configure more than one haproxy in different machines to listen to same request?

I'm wondering if it is possible to create a cluster of haproxy, so if the haproxy machine fails, another haproxy gets the job done. I tried to change the frontend configuration to listen to other ...
0
votes
0answers
29 views

Limit bandwidth per backend with haproxy

I want to limit bandwidth in each backend (I have around 3000 backends), if my backend is over limit I want to have a clear http response. My backend setup : stick-table type ip size 200m store ...
0
votes
0answers
28 views

Empty GET / HTTP/1.1

I'm wondering why I'm seeing all these empty HTTP GET requests in my Node / Express server logs. We're behind HAProxy (if that matters) [2015-02-25T01:33:31.592Z] INFO: xxxx-web/20106 on ...
0
votes
1answer
203 views

HAProxy + keepalived + multiple backend farms / virtual IP addresses

we have several backend farms (HTTP, FTP, etc), basically one farm for each customer, and I am about to rebuild our load balancing infrastructure, moving from Piranha to HAProxy. Since we are using ...
0
votes
0answers
119 views

HAProxy tcp load balancing with an https check fails

I'm trying to load balance a posgres tcp connection, with a node check done via a python script residing on an https connection. conf file looks like so: global log 127.0.0.1 local2 ...
0
votes
0answers
103 views

HAProxy but still single point of failure

I'm setting up a test cluster - Maria Galera Cluster on 3 physical nodes with HAProxy. Its working, but I've made some kind of beginner error which I can't seem to resolve - so hopefully someone can ...
1
vote
0answers
107 views

Nagios check_http gives 'HTTP/1.0 503 Service Unavailable' for HAProxy'd site

I asked this on stackoverflow, but I think it's better suited for here. Can't figure this one out! OS: CentOS 6.6 (Up-To-Date) I get the following 503 error when using my nagios check_http check ...
2
votes
0answers
82 views

HAProxy switch to backup on 500 errors and/or server down

I'm setting up an HAProxy in front of only 2 backend servers, with a particular configuration: any request should go to server A; but, if server A returns a 5xx error code, all request should go to a ...
0
votes
0answers
32 views

Strange haproxy behaviour

So I'm trying to set up a dual site haproxy (1.5.10) on Ubuntu 14.04. http://i.stack.imgur.com/EtdYo.png When I do service heartbeat restart on eartha, both machines go green briefly; then earthb ...
0
votes
0answers
20 views

Saving a cookie value in a stick table to later allow requests in HAProxy

I have an HAproxy with two URL-based routes: /route1 and /route2 (both under the same domain). These are the purposes of each one: /route1 contains the main website where you log in and get a cookie ...
1
vote
2answers
121 views

Configure HAProxy on Linux to accept 10K simultaneous connections

I have HAProxy 1.5 running on Ubuntu 14.04 (modified). It accepts connections on http and https ports. Two backend applications process requests using persistent connection. When I create around 2200 ...
4
votes
2answers
584 views

Load Balancing DNS Servers: UDP / TCP

I have been asked to rebuild our load balancing infrastructure in the data center. The original request was to load balance FTP servers. I tried doing that using the current load balancer (Piranha / ...