Questions tagged [haproxy]

HAproxy is a TCP/HTTP load balancer which provides cookie-based persistence, advanced traffic regulation with surge protection, automatic failover, run-time regex-based header control, Web-based reporting, advanced logging to help trouble-shooting buggy applications and/or networks, and a few other features.

HAProxy is a TCP/HTTP load balancer which provides cookie-based persistence, advanced traffic regulation with surge protection, automatic fail over, run-time regex-based header control, Web-based reporting, advanced logging to help trouble-shooting buggy applications and/or networks, and a few other features.

2659 questions
0
votes
0 answers

configuring a vSphere cluster for Tanzu

I'm trying to configure vSphere with Tanzu, what is easiest for creating supervisor cluster? I have three options: 1.Deploying a Supervisor with VDS Networking and NSX Advanced Load Balancer 2.Workflow for Deploying a Supervisor with VDS Networking…
0
votes
0 answers

Haproxy removing headers when using http-request return code

I am trying to add OPTIONS inside haproxy instead adding it in every rest api. I am using something like this: acl is_options method OPTIONS use_backend cors_backend if is_options backend cors_backend http-request return status 200 In…
Jonhtra
  • 897
  • 2
  • 12
  • 18
0
votes
0 answers

HAProxy redirect from on-prem to Kubernetes, but returning HTTP 200 code

I am trying to set up HAProxy to redirect POST requests hitting on the on-prem endpoint to a new address in the Kubernetes cluster while preserving all URL parameters and 200 response code. There are lots of Java clients using this to POST data and…
Veiserath
  • 1
  • 1
0
votes
0 answers

Haproxy 503 service unavailable

We are running Haproxy and 3 nginx processes inside a single docker on the host network to access it from localhost. We have installed HaProxy version 2.6.6. 3 nginx servers are running behind it as backend servers. We are able to access them…
Nitin G
  • 714
  • 7
  • 31
0
votes
1 answer

Filebeat + Haproxy + TCP + Provided Grok expressions do not match field value

I am using Filebeat to stream the Haproxy logs to Elasticsearch. Filebeat Version: 7.17 Elasticsearch Version: 7.17 Haproxy Version: 1.8 My Haproxy configuration is as below: global log 127.0.0.1 local0 daemon maxconn 2048 defaults log…
Dipu H
  • 2,372
  • 15
  • 24
0
votes
1 answer

Haproxy redirect and fowarding the subdomain

I have an Haproxy server and I need when the user type any_word.registro.myserver.com.br on the browser, the Haproxy redirect to https://app2.otherserver.com.br/register/**any_word** The any_word is a captcha (*.registro.myserver.com.br) Today I…
John
  • 343
  • 3
  • 10
0
votes
0 answers

docker certification version issue

I run a web server as a haphroxy. Certificate issued using let's encrypt Subsequently, when you run the docker container by applying the certificate to the pem file, the certificate is applied normally. A certificate version error occurs in the…
henry
  • 1
  • 1
0
votes
0 answers

Proxy or API Key redirect for URL

I have a requirement to set up a restriction to a public url/website. Unfortunately I do not have access to this server myself. My question would be if there is an API server I can host on e.g. Azure on which I can create API/URLs (maybe also with…
PaintX
  • 25
  • 4
0
votes
1 answer

Haproxy Cluster Planned Failover

I use Haproxy as a load balancer to stream SSH connections to the backend servers. To avoid Haproxy being a single point of failure, I have two Haproxies which are monitored via Keepalived and work together as a proxy cluster as shown below. If the…
Dipu H
  • 2,372
  • 15
  • 24
0
votes
1 answer

Make haproxy skip tests to resolve DNS address for backends when only checking config file

How can I test the validity of a haproxy config file without trying to resolve all addresses? I'm running a haproxy in Kubernetes, getting its config file (haproxy.cfg) from a ConfigMap. When updating the ConfigMap with a new configuration, I'm…
Andreas L
  • 81
  • 1
  • 7
0
votes
0 answers

socat is missing commands for haproxy on ubuntu 20.04

I have installed haproxy 2.6.6, socat 1.7.4.1 and have a working load balancer for Exchange. I want to be able to turn off a node for maintenance and have unsuccessfully tried to use socat to do this. In my haproxy.cfg global section I have: stats…
02dag
  • 1
0
votes
0 answers

HAProxy configuration for load balacing

I trying to configure a Haproxy load balancer in layer 7. It worked, but after reinstalled HAProxy the backend servers failed the health check. Haproxy says they are down. How do I fix it? I got this: I reinstalled haproxy and always the same…
0
votes
0 answers

How to update backend servers dynamically from an ASG while setting up HAProxy as a Load balancer

I have an ASG group in AWS that would run 3-5 instances basis on some parameters. These instances are running Windows servers hosting 3 websites on IIS, and all are running on port 443, which is HTTPS. (All are replicas of one AMI which means only 3…
Sammy
  • 107
  • 6
0
votes
0 answers

How many routes are we allowed to have in Traefik?

We have a server that handles for example 10k users, and every user has his own domain Now when every user wants to reach his domain we should put some ID to his request's header, we used Traefik for this scenario. And now we have for example 10k…
Ali Rn
  • 1,114
  • 8
  • 19
0
votes
1 answer

Writing a Bash script to install Jspaint onto EC2 Instances and configure a haproxy loadbalancer

I've been writing a script which installs JSPaint onto 2 ubuntu machines whilst another machine has HAProxy installed onto it to loadbalance the two. The issue, however, is that jspaint hasnt successfuly installed on the second instance. Here is the…
swig
  • 1