Questions tagged [haproxy]

HAProxy is an 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.

See also:

2099 questions
0
votes
1 answer

HAProxy Backend route by domain hosted on shared ip hosted platform

I have hosted my domain in a Shared IP hosting platform. I have configured HAProxy on Google Compute Engine to route the traffic through. But When I tried to access the HAProxy server IP, I'm getting my shared hosting platform default page (Like…
0
votes
0 answers

Monitor last recent request in load balancer by backend

I'm using an Nginx instance as load balancer for different location/endpoints (I am not tied to Nginx, so a different software load balancer (haproxy was suggested) would also be an option). Depending on the URL, the requests gets relayed to another…
orange
  • 101
  • 2
0
votes
0 answers

How to forward valid SSL traffic through Haproxy to local backends

I have a load balanced infrastructure in which there is a haproxy server as the load balancer and some apache servers as backends. I want to forward https traffic to backends. I know there are two types of doing this: SSL Termination which handles…
Sinai
  • 203
  • 1
  • 3
  • 17
0
votes
2 answers

High Availability HAProxy setup behind PfSense

I am building out a new high availability environment with 2 HAProxy load balancing servers and 2 NGINX web servers all on CentOS 7. I have everything setup and working with both load balancers but am not sure how to route incoming WAN traffic so…
JoeyZero
  • 101
  • 3
0
votes
1 answer

haproxy redirect www sites and not http sites

I am trying to do some redirections with haproxy. I have 2 sites www.example.com and http://example.com I want to redirect www.example.com to www2.example.com But http://example.com should not be redirected, as it is being referenced by page. How…
0
votes
2 answers

proxy requests to two endpoints in parallel

Is there any way to use like nginx, mod_proxy, haproxy or anything similar to have it proxy requests to two different webservers in parallel? I have one server that's like a current active, and one that's a "new" and I want to make sure the "new"…
MichaelB
  • 541
  • 4
  • 10
0
votes
1 answer

HAProxy in front of logstash broken pipe

I'm setting up ELK stacks with loadbalancing. Haproxy works fine for ES and Kibana but I'm having issues with Logstash. Here's the haproxy configuration: frontend logstash bind 0.0.0.0:5000 mode tcp option tcpka option tcplog log…
Gab
  • 183
  • 1
  • 8
0
votes
1 answer

Disable sslv3 from haproxy health check ssl-hello-chk

I have a haproxy configures like below with health check. My backend doesn't support sslv3. Is there a way to make ssl-hello-chk to use a protocol other that sslv3. backend am balance roundrobin mode http http-request set-header…
0
votes
1 answer

Configure HAProxy to never switch back

I have two MariaDB servers, db1 and db2, and a HAProxy. The HAProxy should load balance between them two and take one off if slave lag is too large. The setup is mostly taken from…
rexkogitans
  • 324
  • 1
  • 3
  • 22
0
votes
1 answer

DNS loadbalancing options

I have assembly a high availability system, as the following illustration suggests: DNS RR -> Balancer1 \ \ HAproxy1 ---> Backend Servers HAproxy2 ---> Backend…
0
votes
1 answer

Managing stage and live webapps (apache, haproxy, https redirection)

We have a staging environment for our rails webapp set up as a second Apache virtual host, with haproxy 1.5 sitting in front of both. Until recently the stage was configured as a different frontend listening on a different port to the live version.…
rwold
  • 113
  • 5
0
votes
0 answers

mTLS tunnel between HAProxy instances?

I've read several client side examples which involve a client and one HAProxy server. However, I'm wondering if it is possible to do the following with HAProxy. I would like to have two HAProxy instances, call one client and one server. The server…
NBW
  • 101
0
votes
1 answer

haproxy not creating stick-table entries fast enough

I am running haproxy 1.5.18-3 on CentOS 7 and need to use the stick-table feature to make sure traffic for a specific user persists to a given server. Things work fine when connections come in slowly, however when there's numerous simultaneous…
Gene
  • 3,663
  • 20
  • 39
0
votes
1 answer

HAProxy maintenance with mode tcp and http2

I have a problem configuring HAProxy in TCP mode with http2. My main goal is to serve static maintenance page over HTTPS. Here's my HAProxy config: global log /dev/log local0 log /dev/log local1 notice chroot /var/lib/haproxy stats…
0
votes
1 answer

HaProxy redirect Mysql traffic for a time interval

I have a MariaDB cluster with HaProxy. I need to redirect my clients to other machines everyday between 07.00-07.10 due to heavy working cronjobs. For example i have 3 server that ips are 192.168.1.2,192.168.1.3,192.168.1.4. between 07.00-07.10 my…
1 2 3
99
100