How to close client connections on failover
Hello, I’m using haproxy for the first time and am trying to create an active/standby configuration. The system runs in tcp mode and clients (frontends) use a telecomms protocol which is completely...
View ArticleUsing HAProxy To Add Encryption To Outgoing Request
This is a bit of a strange situation, but I’m hoping someone here can help. I have an existing java application server and we are using haproxy to handle the routing. One of the applications is a...
View ArticleUsing HAProxy in front of an ActiveSync CopyCat
Hi I’m using HAProxy in order to load balance a wide variety of Webservers etc. - one server that’s being proxied via ActiveSync is an GroupWise Mobile Sync Server, that impersonates an Microsoft...
View ArticleModescurity to prevent sql injection
i have trouble in making haproxy import modsecurity module for sql injection preventive. should i make spoe or agent in it? or is there any tricks? 1 post - 1 participant Read full topic
View ArticleHow do I delay all requests at the TCP layer?
Hi I’m trying to simulate latency between my application and my postgres database to test a scenario which may arise and see how my application deals with it. I decided to use a HAProxy in the middle...
View ArticleCascade HAProxy 2 Bad Gateway 502
Dear community, i try to chain 2 haproxy like: Clients-------HAproxyFrontEnd:443----------HAproxyBackEnd:443--------Webserver:443 I receive an error 502 Bad Gateway below my configuration...
View ArticlePreserving HTTP header
Hi, How to preserve the original ‘Host’ HTTP header in haproxy? Regards, Deeps. 1 post - 1 participant Read full topic
View ArticleACL based on incoming URI value
Hi Folks, Currently I’m in need of route the traffic based on incoming URI Value… For Example, below is the incoming URI value http://myexample.domain/profile/A123456P9876/history In this,...
View ArticleHelp for very basic proxy issue
Hi there! I’m new to Haproxy, I’m trying to achive this goal: Redirect port 81 traffic to port 81 on my apache2 server Redirect port 4043 traffic to port 443 on my apache2 server Haproxy and Apache...
View ArticleConnection failure with transparent proxying
Hello, I have setup haproxy with transparent proxying. The backend server is a remote desktop gateway. Its gateway is the haproxy host. The configuration is working well for most of the clients, but...
View ArticleServer could not resolve lxd address?
So I posted an issue in the LXD forum. I cloned a container (patriots), but it (patriotsplace) retains the IP of the cloned container so I end up with 2 containers with the same IP! Not good. I shut...
View ArticleDelay all Database transactions with HAProxy
I am trying to simulate a delay between my applications and my postgres db by relaying all tcp messaging via my haproxy. this is my config global log /dev/log local0 defaults log global option tcplog...
View ArticleHaproxy with Postgresql
Hi, For a POC, I am testing a haproxy config to allow access to different Postgresql instances on the same server, based on a hostname. Serveur RHEL8 / HAProxy 1.8 / Postgresql 14 IE :...
View ArticleRedirection to perl fcgi application
Hi, I have a server (let’s call it “serverA”) where haproxy is installed to load balance an application (Jira). I have another server (“serverB”) where nginx is installed with spawn-fgi and runs Perl...
View ArticleHAPORXY and APache logs - client IP
Hi, I have a problem with the HAPORXY configuration. I have a public IP. There are two LAMP servers in my network. I want to be able to access them from the outside through two different domains on...
View ArticleHost error page on external resource
Hello! I needed to serve the custom error page on external hosting, in the current task on the S3 bucket. At this time, I call iframe with S3 URL from the template, but it looks like a not an optimal...
View ArticleHTTP status code -1 mean?
I am using openshift which contains Haproxy2.0 as route LB, recently, I got several 502 from frontend nginx. When I dig into the Haproxy log, I found: worker-0 haproxy[355]: ...:54628...
View ArticleHAProxy with TCP mode and multiple subdomains
Hi Team, I have the below configuration and getting SSL error in my python code. frontend http-in bind *:443 mode tcp option tcplog timeout connect 10s timeout client 20m timeout server 20m maxconn...
View ArticleHow I can hide HAProxy version?
Good afternoon, I want to hide the HAProxy version or name to avoid possible attacks. I took a Nmap scan and I got: 80/tcp open http-proxy HAProxy http proxy 1.3.1 or later How I can do it? Thanks 2...
View ArticleUpgrading from sources to haproxy 2.5
Please help me i need to upgrade from haproxy 2.2.11 (installed from sources) unde centos to haproxy 2.5 (also from sources) Should i make uninstall beforehand old version or i can trry install...
View Article