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

redirecting Haproxy HTTP-requests in mode tcp

I would like to return a http-response status 200 to http-requests which are send on port 8883. The port is used for mqtt but we would like to catch http-requests on it. The configuration I have now is (Haproxy 2.2) : frontend smqtt bind :8883 …
0
votes
1 answer

How can i get content path in Haproxy?

I stored port number in client side path and i want to use it in webserver in frontend section. How can i get path content in Haproxy? i dont want to use if command My code is: global log /dev/log local0 log /dev/log local1 notice …
0
votes
0 answers

Does haproxy and keepalived are impacted by CVE-2022-37434?

I try to find out if haproxy and keepalived are or can be affected by CVE-2022-37434 I've tried to grep source code of both applications to find method inflateGetHeader which is the cause of the problem. Didn't find anything
0
votes
0 answers

Can't get version of the global server state file '/var/state/haproxy/global'

I have installed HAProxy-Ingress into my Kubernetes, I keep getting error 404 when trying to resolve paths, the reason is certainly this error, logged in the controller : 2022/11/22 23:49:18 INFO controller.go:165 HAProxy reloaded [NOTICE] …
0
votes
0 answers

Directly specify HAproxy fullchain.pem and priv

Let's encrypt provides a list of files sorted nicely to be used by the http server. Here is a list of files with symbolic links created by letsencrypt nicely. lrwxrwxrwx 1 root root 51 Nov 22 15:48 cert.pem ->…
uak
  • 183
  • 3
  • 9
0
votes
1 answer

HAproxy static pod runs 100% CPU on node on containerd

I am working on Deprecating Docker shim and using containerd as container engine in kubelet. It caused haproxy Static pod to run 100% CPU on node. The resource limits doesn't work for static pod so that did not work. The same pod when run as a…
Raj
  • 55
  • 1
  • 9
0
votes
0 answers

Unable to pull docker images from harbor repository via HA proxy?

I have a harbor repo which is having docker images and helm charts. I don't want to expose harbor repo directly. I want to pull docker images and helm charts via HA Proxy server. frontend myfrontend bind 0.0.0.0:8080 use_backend maven-repo if {…
0
votes
0 answers

DNS Setting for web URL with no prefix (with HA proxy + C Name)

I have a domain vdigitalassetbroker.com that is currently configured on the DNS records (via GoDaddy) as a CNAME (www) pointing to the HA Proxy Load Balancer (haproxy-dmz-staging-1493101238.eu-west-2.elb.amazonaws.com). As such, users are able to…
0
votes
0 answers

haproxy: passing variables to lua action

In haproxy, I implemented a simple way to delay clients sending too many requests too fast: In haproxy.cfg: acl conn_rate_high sc1_conn_rate(ipsticktable) gt 20 http-request lua.delay_request if conn_rate_high In the lua…
P.Péter
  • 1,527
  • 16
  • 39
0
votes
0 answers

Open source reverse proxy with SSL certificates in persistent storage for cluster configuration

I am wondering if anyone knows of an open source reverse proxy that is able to read CA files in persistent storage - in a swarm. I would like to build a reverse proxy in the swarm so if one manager fails the other can carry on. I was developing with…
grayred8
  • 93
  • 6
0
votes
0 answers

Request not forwarded

I am using haproxy as a load balancer. One of type incoming request use multipart/form-data( content type : application/pdf ). This type of requests are not forwarded. There is information in log: qwerty qwerty/ 13/-1/-1/-1/13 500 208 - -…
pr0g
  • 1
  • 1
0
votes
2 answers

How to create reverse proxy that forward traffic to kubernetes ingress controller such as haproxy ingress or nginx ingress

i tried to forward traffic from server 192.168.243.71 to domain that show in command "oc get routes" / "kubectl get ingress", but its not as simple as that. The fact is my Nginx Reverse Proxy in server 192.168.243.x will forward the request to the…
0
votes
1 answer

HaProxy Adding Header on url path match

I am in the process of migrating from F5 big IP to Haproxy. I have this rule in F5 : when HTTP_REQUEST { if { [HTTP::uri] starts_with "/download" } { HTTP::header insert "X-ENDPOINT-NAME" static } else { HTTP::header insert…
mdomore
  • 1
  • 1
0
votes
0 answers

add failover in HA proxy in kubernetes

I am trying to implement failover https://www.haproxy.com/blog/failover-and-worst-case-management-with-haproxy/ using HA proxy. My current environment is on Azure. I have deployed two application and an ingress controller and ingress. where I am…
0
votes
1 answer

haproxy tcp mode get real client ip

I have an haproxy in tcp mode. I have some tomcat web servers behind it and i want to get real client ip in web servers.but in tomcat logs only show haproxy ip address . thanks in advance haproxy.cfg global stats socket /var/run/api.sock user…
a.sadeh
  • 1
  • 3
1 2 3
99
100