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
16 views

Using HaProxy environmental variables in haproxy.cfg not working

Trying to figure out why environmental variables in haproxy.cfg aren't working in HA-Proxy version 1.5.2 on the command line, using Printenv I get a list of environmental variables like ...
0
votes
1answer
22 views

Configuring iptables for Haproxy

Ubuntu machine running haproxy with 2 network cards, 1 connected to WAN (called wan0) and another connected to LAN (called lan0). All chains set to DROP traffic. # Masquerade traffic from LAN to WAN ...
1
vote
0answers
16 views

Key management for HAProxy instances in OpsWorks

I'm trying to use client certificate verification in an OpsWorks HAProxy instance. The question I'm running into, and it's probably a noob issue, is how am I supposed to deploy my ssl private key to ...
0
votes
0answers
17 views

Use haproxy to route openvpn trafic to mutliple openvpn instances

I'd like to use multiple OpenVPN docker instances on the same IP port, so I'm looking for a way to route the ssl vpn trafic, does something like haproxy can do the job? Maybe by sniffing the ssl ...
0
votes
0answers
16 views

How to configure HAProxy to pass though unencoded URL to Jenkins backend?

I have HAProxy configured to terminate SSL connections for a Jenkins CI server, proxying to the Jenkins CI server backend over plain ol' HTTP. I can successfully perform [thus far] all of the ...
0
votes
0answers
18 views

HAProxy with Rapid SSL Certificate

I'm using HAProxy version 1.5.2 on Centos. I received 3 certificates from GeoTrust/Rapid SSL CACertificate-1.cer CACertificate-2.cer ServerCertificate.cer All of the above certificates start with ...
0
votes
1answer
17 views

How to rewrite errors returned by an underlying server at HAProxy?

I have a JBoss cluster under Apache HTTP servers, which is in turn under the HAProxy load-balancer. Whenever a JBoss application server goes down, Apache shows the 503 error screen. Is there a way I ...
1
vote
0answers
18 views

HAProxy ipv6 to ipv4 issue

I have setup a HaProxy node ver 1.5.3 on Ubuntu 14.04. The Ubuntu server has 1 nic. The nic has an IPv6 address and an ipv4 address. The IPv6 listens on port 80 for incoming internetconnections. The ...
0
votes
0answers
5 views

Use HAproxy's “redir” without appending URI

In case of all backends failure, I want to redirect the client's requests to a maintenance page. IE : http://mycrashedwebsite.com/folder/page.html should redirect to ...
0
votes
1answer
19 views

haproxy: how to intercept links that point directly to the backend servers

I have set up haproxy and it works fine, I can access web pages that sit on servers on the backend. The setup is as follow: There's a single frontend haproxy server that points to different backend ...
0
votes
1answer
43 views

Moving a web application to use HAProxy, Varnish, and nginx

I currently have 4 web application servers (running on application) on Rackspace that sit behind a Load Balancer (on Rackspace). In front of the Load Balancer. The application itself makes moderate ...
3
votes
1answer
42 views

HAProxy balance algorithms for Apache and MySQL

just recently I got responsible for an existing project that uses Apache webservers and MySQL databases. The webserver are behind a HAProxy loadbalancer and the application connects to the MySQL ...
0
votes
1answer
22 views

HAProxy log outgoing requests

Currently, my HAProxy logs have information about the incoming requests: HTTP version, method, host, path, and headers. I am trying to debug my HAProxy config, and need to know what the resulting ...
0
votes
0answers
20 views

Issue with multiple sites on same vps with haproxy

Setup I have a VPS which I am using docker on. I currently have 3 containers. 1 for haproxy and the other 2 containers contain their individual sites (running a nodejs http server on port 8080). I ...
0
votes
1answer
33 views

haproxy displaying incorrect version / 503 service unavailable

I am using docker with a few containers. One of my containers has haproxy and I wish to reverse proxy a domain to one of the other containers which is holding a web server. There are a few weird ...
0
votes
1answer
34 views

haproxy.cfg 1.5.12 log file error

This is the top three lines of my haproxy.cfg: global log /dev/log local0 log /dev/log local1 notice ... I get the error in the terminal: root@b323d0a11c98:/etc# service haproxy ...
1
vote
0answers
24 views

Redis Sentinel false failovers

I'm having problems with Redis. I have 3 servers. Each server have 10 Redises working on different port. Also, each server has one Sentinel instance. Also, there are 5 application servers. Each ...
0
votes
2answers
47 views

HAProxy max session limit

I have an Amazon OpsWorks stack running HAProxy (balance = source) and several node.js instances running socket.io. It seems HAProxy determines the max session limit for a given instance based on the ...
0
votes
1answer
20 views

Haproxy dynamically promote backup server to master

Let's say if I have two mysql databases, db1 and db2. Is that possible to configure haproxy to work like that: In the beginning: db1 work as master and db2 as backup. The haproxy will promote db2 ...
0
votes
0answers
29 views

haproxy get ssl interrupt error, how haproxy tell server to close ssl or tcp?

I use haproxy 1.5 and a windows server build site. my site work under the https protocol, so for haproxy I use tcp mode since I think the ssl can not work on http mode. my problem is the ssl ...
0
votes
2answers
53 views

HAProxy backend with TLS stopped working

I'm having trouble with one of our HAProxy-Servers that uses a backend with TLS. When starting HAProxy the backend will report all servers as down: Server web_remote/apache_rem_1 is DOWN, reason: ...
1
vote
1answer
34 views

HAProxy track_script + nopreempt not working

I have 2 nodes with Keepalived v1.2.13, in Amazon AWS VPC. I'm trying to achieve this scenario, assuming Node1 is MASTER: If I stop HAProxy or stop keepalived or stop the node, failover to Node2. If ...
-1
votes
1answer
25 views

Understanding HAProxy statistics web

I would like to understand the parameters shown in the HAProxy stats web interface. What's maxsock parameter about? And current conns in general process information´? Why it isn't the same as current ...
0
votes
1answer
28 views

HAProxy 1.5 Serving Static Assets Very Slowly

I'm doing a few side-by-side comparisons because we'd like to switch from Ngnix as a load balancer to HAProxy. The problem is that when I set up HAProxy I end up getting a really slow load time, ...
0
votes
1answer
22 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
58 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
32 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 ...
2
votes
1answer
37 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
49 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
90 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
72 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
60 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
97 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
74 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
88 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
58 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
87 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
1answer
126 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
66 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
53 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
79 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
64 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 ...
1
vote
1answer
102 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
37 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
139 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
35 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
92 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
27 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
17 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
141 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) + ...