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.
2,131
questions
0
votes
0
answers
7
views
HAProxy: configuring multiple single domain SSL certs for domain and subdomain
Current configuration:
2 URLS (both with DNS records that point to the same static IP). And each url has a single domain SSL.
subdomain.domain.com
domain.com
Static IP connects to an Azure Load ...
1
vote
1
answer
107
views
Incorrect HAProxy reverse proxy config?
I'm configuring my domain, and I want to set up HAProxy as a reverse proxy for all of my subdomains. Somehow I've got this configured incorrectly, and I absolutely have no idea what's wrong. Here's my ...
0
votes
0
answers
68
views
very strange error HA k8s cluster with haproxy as load balancer
I am trying to create k8s cluster with haproxy as external load balancer ( 2 haproxy nodes, 3 control planes , 3 workers) currently am still trying with 2 haproxy and 2 control planes
ERROR : ...
0
votes
0
answers
104
views
Configuring HAProxy for Redis PubSub
I'm trying to configure a HAProxy instance for a Redis cluster. The application that connects to Redis use both short-lived connections for common commands like SET/GET and long-lived connections for ...
0
votes
0
answers
30
views
HAProxy configure same domain with different port
I have haproxy configuration like this
frontend http-in
bind *:80
bind *:443 ssl crt /etc/ssl/haproxyssl/cert.pem
mode http
#default_backend backend_servers
...
0
votes
2
answers
444
views
How to implement an active health check with web load balancer
I need to have a web load balancer with active health check.
This frontend machine should handle https certificate, a bit of caching and, most important, proxy to backend server only if they are ...
0
votes
2
answers
162
views
LetsEncrypt SSL with HAProxy Renew Not Working
I am trying to give SSL on HAProxy using certbot with LetsEncrypt. I am creating SSL with command:
sudo certbot certonly --standalone -d test.example.com \
--non-interactive --agree-tos --email ...
0
votes
0
answers
45
views
Haproxy SSL handshake errors for local Apache traffic only
Im currently using apache (Ubuntu) on server 1 (ports 80 and 443) which has multiple domain names and a wildcard ssl certificate. All works perfectly at the moment.
I want to set up haproxy on server ...
0
votes
1
answer
109
views
How to setup external load balancing to my kubernetes cluster securely?
We have for a period of time just pointed our dns to one of the nodes in our cluster. That node has then load balanced internally to the correct node and application.
Something like this:
The problem ...
3
votes
1
answer
158
views
Load balancer with HAProxy
I'm trying to set up a load balancer with HAProxy, but I'm having trouble understanding how to configure it. Can someone provide an example configuration?
0
votes
0
answers
48
views
Load balance TCP stream traffic based on delimiter
I am looking for clarification if either Nginx or HAProxy are capable of load balancing TCP stream content based on some delimiters in the stream. The TCP connection is long-lived and is being used ...
0
votes
1
answer
102
views
haproxy doesn't seem to see all the backends/replicas
I'm trying to make haproxy proxy requests to a number of replicas:
docker-compose.yml:
services:
haproxy:
image: haproxy:2.3-alpine
volumes:
- ./haproxy.cfg:/usr/local/etc/haproxy/...
0
votes
0
answers
72
views
HAProxy 2.4 does not forward HTTP / Hangs
I have a server using docker-compose using the image haproxy:1.4. It works fine but I wanted to migrate to a more recent version. But starting with haproxy:2.4, haproxy does not work anymore.
This my ...
0
votes
1
answer
104
views
HAproxy with Keepalived not behaving as expected
I have two servers in a public subnet with both public and private IPs. I want to configure HAproxy with keepalived and make server1 act as the master and server2 as backup.
If server1 goes down, I ...
0
votes
0
answers
175
views
Website's file types all set as HTML when going through HaProxy
When I open "my-website.com", the full page never loads because the .css and .js files seem to be served as html. This only happens when accessing the website through my loadbalencer.
I have ...