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
0 answers

HAProxy and Keepalived IP assignment

As per the figure below, suppose there are two load balancers bundled together using Keepalived. My question is: does each LB have to get public IPs (namely 10.0.0.3 and .4) assigned to their public interfaces? Can they just listen to the VIP (with…
cody
  • 43
  • 2
  • 5
0
votes
2 answers

HAProxy source IP using wrong interface/IP

I have a small Haproxy server set up with 2 NICs. The OS is CentOS7 and I have configured both NICs on the same subnet per CentOS documentation. — 192.168.0.1, 192.168.0.2 ---- both on 192.168.0.0/24 192.168.0.1 is used for management and the web…
kellyredbook
  • 67
  • 1
  • 9
0
votes
1 answer

haproxy to IIS servers

We have 2 IIS servers with multiple websites on them. I want to check for each website if the are still running on each server. If i do a simple port check the IIS will reply even when 19 of the 20 sites are down. So this doesn't really help me. I…
0
votes
1 answer

Haproxy healthcheck and backend section generation

I have a lot of sites and I want to do a http healthcheck for each one. Does it mean that I need to make a backend section for each site? If so, I need to generate it somehow. Can I achieve it with templates or may be with something like…
warder
  • 138
  • 1
  • 11
0
votes
2 answers

HAProxy & Nginx SSL redirect issues

I have 2 websites, websitea.com and websiteb.com, these are hosted on two servers 10.0.0.8 and 10.0.0.12 for load balancer and I try to made it work with both HTTP,HTTPS protocol with this config. HTTPS is working fine for https://websitea.com, but…
Viet Nguyen
  • 133
  • 8
0
votes
0 answers

HAProxy as Docker container not routing as a reverse proxy

This HAProxy configuration should serve: the Google main web page when asking http://localhost:9000/google/ the Wikipedia main web page when asking for anything else hitting http://localhost:9000 I am not sure what's wrong with configuration file…
TPPZ
  • 101
  • 2
0
votes
1 answer

HAPROXY-Weblogic, issue with https-ssl connection

Recently have been deployed a web page using Weblogic Cluster. The page inside the WL works properly. In front of the WebLogic Servers there are two servers with Apache, keepalived and HAPROXY installed. The problem we have is that whenever you…
cees09
  • 3
  • 2
0
votes
1 answer

Nginx http to https redirect not working when listening to upstream loadbalancer

I currently have an HAProxy load balancer out front, without SSL termination, that routes traffic to a couple web servers. On the webserver, nginx terminates the SSL, and in theory provides http to https redirection. However when requesting http in…
Msencenb
  • 113
  • 6
0
votes
0 answers

HAProxy (or any lb) - can you redirect based on path without SSL termination?

I'm looking to decouple the marketing (logged out) portion of a website from the main logged-in app, without having to use subdomains. I believe I can do this with ACLs in HAProxy, and potentially with other solutions like ELB. However I do not…
Msencenb
  • 113
  • 6
0
votes
1 answer

Load balance PHP-FPM with HAProxy resulting in service unavailable

I need to load balance PHP-FPM with two backend servers with HAProxy (with Apache running on those backend servers as well). I have this frontend: frontend fr_fpm bind *:9000 mode tcp default_backend bk_fpm And I have this backend: backend…
William
  • 266
  • 1
  • 4
  • 18
0
votes
1 answer

haproxy hide backend url

Is it possible to hide the backend server's URL path, using haproxy? The backend server's URL path is https://backend:8443/backend_url(/.*) I would like to keep the URL path in the browser as always as https://haproxy/haproxy_url(/.*) The backend…
Unpossible
  • 249
  • 1
  • 7
  • 20
0
votes
2 answers

Stuck at setting up full proxy with HAProxy

I have gone through various answers on this forum and others and tried to debug my HAProxy configuration- alas no success. I am newbie at HAProxy and am facing challenges getting it to work the way I want. Here is the context. I would like a client…
JPK
  • 1
0
votes
1 answer

Receiving blank user agent requests from HAProxy?

My servers are receiving HTTP requests w/ blank user agents from my HAProxy load balancer. The request headers are all the same: Originating IP: Load Balancer IP User Agent: Blank Script: index.php Headers: Connection: close Server IP Is this a…
Wayne
  • 73
  • 1
  • 11
0
votes
1 answer

Haproxy postgresql with patroni

I try to connect to my postgresql cluster using patroni and haproxy, in haproxy stats always i have two servers "DOWN" and when i connect from my pgadmin i have this message: server closed the connection unexpectedly This probably means the…
mleaf
  • 145
  • 1
  • 1
  • 5
0
votes
1 answer

Configure Haproxy and docker to solve port exhaustion on linux

I have an TCP server and haproxy running in a docker container on Debian in docker's bridged network mode. I have increased the ephermeral port range so that I can connect around 50k clients per IP. In order to get past 50k clients, I exec into the…