IP-address Rewriting in HAProxy without Proxy Protocol enabled
Hi, everybody! I ask help to understand how HAProxy as LB (without Proxy Protocol enabled) rewrites IP-addresses in requests and responses. I understand that when HAProxy accept request it changes...
View ArticlePerformance degradation behind HAProxy
Hi there, I am trying to set up HAProxy in front of some node js apps but having trouble with performance. In the best case I get just under half the performance of a raw node server. I have a simple...
View ArticleRandom ACL missmatch
Hey there, I’m running haproxy 2.0.14-1~bpo10+1 2020/04/16. I’m encountering the error, that in one request all ACL’s work just fine. And if I or someone else reloads the site or connects for the...
View ArticleMySQL Connector/J using loadbalance mode get Communications link failure
I am using tomcat 9, Mysql connector/j 8 and HAProxy 1.8.4. I have 2 haproxy servers connecting to 2 db nodes in active-passive mode such that the haproxy servers always passes the db connections to...
View ArticleCheck health on backend TLS sites that requires SNI
Hi everyone, I’m trying to setup a cluster of two Microsoft ADFS servers (Federation service for SAML authentication), behind two different HAproxy servers, which receives incoming connections from...
View ArticleCORS configuration is not working on HAProxy. How to enable it properly?
I’m running HAproxy as a proxy for backend APIs on Docker Swarm. Haproxy config supports CORS, but when I try to access one of the API endpoints, it results in the following error: "Access to...
View ArticleHow to learn HAProxy? (Books, Courses, Tutorials, etc)
Hi there Docs and Blog Posts are not suitable for getting started with HAProxy, or at least using them, I can’t go through a training path! Please share any chapters in books, video courses, manuals...
View ArticleHow to use HAProxy to change how users get repointed to our locally hosted...
Hello Team, I’m very new to using HAProxy but I’ve managed with some help to successfully setup HAProxy version 1.8.15 on my CentOS 8 server. I have within my /etc/haproxy/haproxy.cfg file added in...
View ArticleTraffic mirroring with dynamic percentage from map
HAProxy version 2.1 Following the documentation in this blog post: https://www.haproxy.com/blog/haproxy-traffic-mirroring-for-real-world-testing/ We are looking to have a map file which contains the...
View ArticleRedirect from IP-Adress to FQDN
I would like to redirect the query in the browser “http://192.168.1.1” to the domain “https://opnsense.dummy.tld”. So that the browser recognizes the certificate correctly and does not always get an...
View ArticleHA Proxy Stops responding after sometime
Hi I have VMs of 2 HAproxy on CentOS 7.8 Servers configured in HA with Keepalived. All was working normal until some days ago HAproxy stopped forwarding requests to web servers After doing a lot of...
View ArticleHow to make haproxy 2.0.14 work via mount for external file
Hi, i am using haproxy version 2.0.14. Took the source code , built using makefile. if i run the executables I am able pass an external haproxy.cfg with -f option as below. ==>> “./haproxy -f...
View ArticleSimple port redirect on HAProxy no working
Hi, I am trying to port forward using HAProxy in the following configuration: Internet -> firewall -> HAProxy -> firewall -> end device There is a DNS A record created to the public IP,...
View ArticleNbsrv and tcp-request connection reject not working in TCP mode
Hi, I am using haproxy in passthrough mode(TCP), I want to stop accepting TCP connection if all my backend servers are down. I have shut down all my backend servers and backup servers to test this,...
View ArticleHAProxy - Zimbra
Hello, You can help me with a case. I installed a HAPROXY in front of a Zimbra I’m trying to configure either HAPROXY to forward or the user’s IP to a zimbra layer. Configure option not HAPROXY option...
View ArticleLooking to execute scripts on events
Hi all, I am new to haproxy, but pretty happy with it so far. I was wondering if there is any option to run scripts in case of failover. So far I only found options to email and log. But I would...
View ArticleWith the help of redirect url how can I do health check
redirect prefix URL code 301 if condn. I have to check the health of the URL. If the URL is down then I have to redirect it to the maintenance page. How can I do that with haproxy? 1 post - 1...
View ArticleRewrite the date header of response
Hello ! Currently, I use Haproxy for coordinator all my servers. But, some server is hosting or share hosting - show I can not controll all functions about each server. And some server time is not...
View ArticleStudy case : multi site HA 😩
hello, we have 3 datacenter, located on 3 physical site. each site has his own ip subnet . 2 haproxy server have been installed with keepalived with one virtual ip address on each site. So we have 6...
View ArticleKeepass Sync with WebDAV server results in Bad Gateway 502 when using HAProxy
Hi, I’m currently facing an annoying issue with HAproxy and my (Synology) WebDAV server, running behind a linux firewall (IPFire). I’m using Keepass (latest version) on Win10 Pro. Keepass successfully...
View Article