Changes to haproxy.cfg reverts after few seconds
Whenever I make any change to haproxy.cfg, the changes revert after few seconds. I tried reloading, restarting the ha proxy service. What am I missing here? 1 post - 1 participant Read full topic
View ArticleMQTT log client_identifier
I want to log the client_identifier when a mqtt tcp connection comes in. What can I do to do it? Can not find any help anywhere. 1 post - 1 participant Read full topic
View ArticleHaproxy retry and redispatch not working as expected
We have haproxy-2.2.6 and are using basic config for our backend hec-backend which is load balancing a REST api based service. backend hec-backend mode http option httpchk http-check send meth GET uri...
View ArticleALPN negotiation not working with generate-certificates
I’m using haproxy as a main in the middle proxy where I generate certificates with the generate-certificates line. My bind file is also using the crt-list, which I’ve tried adding the [ alpn...
View ArticleNo admin.log file created for notice level
Hello. I’m following Introduction to HAProxy Logging and I’m configuring my HAProxy 2.4.22 as follows: haproxy.cfg: global log 127.0.0.1:514 local2 chroot /var/empty pidfile /run/ldap-proxy.pid...
View ArticleIIS 503 HAProxy NextJS
My app is running normally on IIS Windows. It’s a NextJS app set with basePath = /minisom. When I access the IIS 192… website, everything works normally. However, when I install HAProxy with these...
View ArticleHttpchk with client cert
The httpd endpoint I want to health check has a client cert requirement. Is there a way to configure the health check to use an outbound client certificate on the health check calls haproxy is making?...
View ArticleHaproxy 2.8 http3 / quic example?
Anyone know how to set it up? haproxy -vv HAProxy version 2.8.5-1ubuntu3.2 2024/12/02 - https://haproxy.org/ Status: long-term supported branch - will stop receiving fixes around Q2 2028. Known bugs:...
View ArticleHaproxy - non www redirection to www
Hello, I am a novice in Haproxy : in my current configuration, http is redirected to https but I would like to redirect non www to www. Here is the currect config of haproxy.cfg: frontend...
View ArticleHAProxy with XDR
I want to install XDR on an HAProxy server that works in SSL offload and TCP load balancer mode. Are there any recommendations or impacts on performance? Will the traffic be inspected correctly, or...
View Article502 Bad Gateway with SH flag on the log
hello, I am struggling with a problem for about a week. looked up everything here and everywhere on the internet. I am using: [root@srv-lba04 haproxy]# haproxy -v HAProxy version 2.4.22-f8e3218...
View ArticleWebsocket with balancer not works
Hi, I am having problems making requests through the balancer with websockets. I have a client that uses socket.io.client to connect to the server. Then there is a haproxy as a round robin balancer,...
View ArticleTracking a connection thru backend/frontend forward
Hello, I’m using HAProxy at home as a global frontend to access both a Web server and a VPN server, both using tcp port 443. I’m using a TCP frontend, with SNI to separate Web traffic from VPN...
View ArticleHaproxy reverse proxy, headers, 2 domains
Greeting, can someone please help with my issue. I have an example.com domain that listens on an IP address and I have a CNAME example2.com on the same IP address. when the user comes from the url...
View ArticleDebug HAProxy Socket Error Redis TLS
We have recently implemented tls and authentication in our redis setup, and are trying to get HAProxy back up and running, but are running into socket errors and can’t find any good documentation for...
View ArticleAfter the OS switch from CentOS to Ubuntu, there are frequent url not...
After the OS switch from CentOS to Ubuntu, there are frequent url not accessible (VIP) problems in the HA proxy load balancer. The problem is being resolved once the keepalived and ha proxy services...
View ArticleDataplaneapi commit from cron gives error 406
Hi all, I wrote a script to add an ACL & http_request_rule to my HAProxy config. If I call the script from the commandline (or an other script that I call from the commandline or via ssh from an...
View ArticleConfusing SSL issue
I’m using HAProxy in pfSense on a Netgate device. I’ve configured it to host two domains - let’s call them xone.com and xtwo.com. I’ve generated wildcard certs for both each of which covers .com and...
View ArticleRdp preserve client ip
Hi i’m trying to balance my windows server 2022 rdp remote app sessions, my main problem is that we have a program that read the source ip from clients, and when add rdp throug haproxy, all ips are...
View ArticleHaProxy Settings for different Auth's for different Backendpools in opnsense
Hey there I am struggling with the settings in HaProxyplugin in opnsense, where I am trying to assign different authentications to different backend pools in the rules. For example, one backend pool...
View Article