How to configure HAproxy for a certificate authentication
Good Evening, I want to have a certificate-based authentication configured only on a backend test5_ssl in such a way that the configuration would not impact other nodes (test_1_ssl, test_2_ssl,...
View ArticleStick table modification
Hi, we’re using haproxy (version 2.2.9-2+deb11u3) to load balance http proxy requests to a bunch of squid proxies. Persistance is done using stick table, which is working fine. Configuration snippet:...
View ArticleConfigure load balancer
Hello, I am trying to setup a load balancer between 2 webpages namely 192.1.168.1 and 192.168.1.2…with just normal changes in index.html on both servers i could see their is load balanced created when...
View ArticleX-Forwardfor for an Android APP
Hello, i have a problem with X-Forwarded for. I have an Android Application that needs X-Forwarded for in the HA Proxy. In Log File i get this line, when die APP hints the HAProxy With Android APP Oct...
View ArticleSsl config issue
Hello We are trying to use haproxy to bypass government restrictions. they have even blocked even wp.com! I used different config files but each one had some problems We want to use same server...
View ArticleSimple backend configuration always returns 404
I’m trying to put 10.43.231.254:80 behind haproxy2.2 but for some reason, haproxy always returns a 404 not found when I attempt to site I tried copying the example from Configuration | Configuration...
View ArticleLua tasks and blocking IO, okay?
Hello everyone, I had a quick question about blocking system calls while writing Lua code to expand HAproxy functionality. From https://raw.githubusercontent.com/haproxy/haproxy/master/doc/lua.txt,...
View ArticlePrivate registry config haproxy
(topic deleted by author) 1 post - 1 participant Read full topic
View ArticleTrying to get domain name routing
I’m trying to route to two different sites, but I always get a 503. I checked the host running haproxy and I am able to curl to the backends, can you please help this newb identify what is wrong with...
View ArticleConfiguring HAProxy with Virtual IPs
I would like to create a redundant HAProxy configuration with: Keepalived - for determining which HA Proxy is active HAProxy - for doing load balancing and failover I will be using a cloud service...
View ArticleSome requests aborted when connecting to http/2 backend
Hi, Since a long time I’m using haproxy (as a package on pfsense, HAProxy version 2.4.9-f8dcd9f, released 2021/11/24) to handle incoming requests to my homelab environment. Recently I upgraded Tomcat...
View ArticleLoad Balance UDP traffic
Hello, I’m running on the same host two openvpn servers listening on UDP and planning to use them for over 1000 clients to connect. These clients are already running and configured to connect on UDP...
View ArticleHAProxy + Remote desktop Gateway
Hello Is there a way to configure HAProxy pass “pure” http for RDP clients to RD gateway (we use Win 2019 SRV)? Now it works if deny remoteDesktopGateway path in config file. Connections made as RDP...
View ArticleTCP Health check - failover only downed ports
Hello. I am new to the forum, sorry if this is answered somewhere I couldnt find it. I am trying to determine if it is possible to perform a tcp health check on backend, and in the event of a single...
View ArticleCan HAProxy detect its own domain?
Hi, It is my understanding that the Host field is the Host of the website being requested, correct? If so, is it possible to get what domain was used to access the HAProxy server? Thanks. 1 post - 1...
View ArticleRate Limit Reply Headers
We would like to gain more insight into rate limits our users are hitting. We are maintaining an API library that could benefit of utilizing HTTP 429 response headers similar to how Discord’s API...
View ArticleRequest Header Referer equal to root
Hello everyone, I’m trying to check for a condition where the Request Header referer is equal to the root path I’m doing it like this: acl static-list-referer-root hdr_dir(referer) path -i /...
View ArticleHaProxy rstring (regex) issue on response (http-check)
I am trying to use rstring option for http-check to validate if service is 100% operational. What I am trying to do: http-check expect rstring ^{"status":"UP","components" Response from endpoint:...
View ArticleHaproxy with hashicorp vault
Hello Everyone, I am becoming crazy configuring haproxy for hashicort vault. I am using ubuntu20.04 with tcp pass thru. If on the backend servers I install apache it works fine. If on the backend I...
View ArticleStats are reset to 0 after haproxy reload
Sorry to bring this topic back. We are using haproxy for load balancer. We’d like to auto-provision servers based on the average TCP connections to the servers. Unfortunately, we found that stats are...
View Article