Http-request track-scX does not work since 2.4/2.4.1/2.4.2
Hey Pros, randomly I detected in my logs that some http-request track-sc0 rule doe not work anymore. I have a dummy-backend for stick-tables and want to track there base32+src. In 2.3 or maybe in...
View ArticleHow to redirect with regex and any queries?
I have problem with write redirect locally on haproxy. I have to write a redirect from : http://just.xx.local/XXXXXXXX/assignment?ANY_QUERY ON :...
View ArticleModify requested URL
Dear all, I’m running haproxy on an opnsense system, which works fine.As one backend I’m using xwiki. This system is on part 8080. All is working fine to have access through the frontend with...
View ArticleHaproxy redirect ssl frontend with different ports
I have currently such config, how would I need to change this so I can have different services on different ports. I would like to add a fronted+backend for svc1 on a different port than 443 but with...
View ArticleHAProxy configuration Headers redirect to the correct shard
Hello! I am facing some issues/have some questions. Currently I am setting up a Non-Profit Videoconferencing System for the schools in my area because of their lacking digitalization. For that I am...
View ArticleI need to redirect backend to ip server with a context
Hi i have this problem: I need to redirect my backend server, using a particular context after ip and port definition… Follow my example. frontend my-https bind *:443 ssl crt /mypath/haproxy/mycer.pem...
View ArticleHaproxy not getting started
04:33:30 # service haproxy status ***** haproxy.service - HAProxy Load Balancer Loaded: loaded (/usr/lib/systemd/system/haproxy.service; enabled; vendor preset: disabled) Active: failed (Result:...
View ArticleHow to upgrade from 1.5 to 2.4
We’ve got a few servers that are still running HAProxy 1.5 that I’d like to upgrade to the latest LTS version. Can I go straight to 2.4 from 1.5 or should I upgrade to 1.8 first? 1 post - 1...
View ArticleCompile Without lua
What are the likely consequences of compiling haproxy without lua? I am updating the haproxy servers from EL 7 to EL 8 but, in the meantime, I may need to update a few EL 7 boxes to a 2.X release. The...
View ArticleRedispatch ERROR 503
Hi All, Some 503 returns still occur, even if Redispatch is configured. HAproxy and Hashicorp Consul on the same server. Environment: Consul v1.10.0 - Revision 27de64da7 rogerio@cloud:/lblog$ sudo...
View ArticleBinding multiple port
I have frontend listening on multiple ports and forwarding to backed on ports from 8001 to 8005 I have the following blocks for all 8001-5 ports? This looks redundant to me. Is there any easy of doing...
View ArticleLogging TCP requests mssql
image809×785 16.9 KB Please help me in this situation. I want to receive in the log all requests that I send to Haproxy. I see very little information on the vlog. You can see my config in the...
View ArticleAccept-proxy: stops working
Hi Community. When I adds accept-proxy to a bind configuration, it returns ssl handshake error. Without accept-proxy all is fine except I cannot get the original IP from the connecting client. Let me...
View ArticlePOST health check with body XML (Soap)
I want to do a soap request to a server as a health check. The documentation 2.4, states: option httpchk <method> <uri> <version> and <method> is the optional HTTP method used...
View ArticleUsing pgsql-check with TLS results in 'SSL handshake failure'
I’m trying to use the pgsql-check for checking my postgres node backends. They provide SSL endpoints only. My configuration looks like this: global # Default SSL material locations ca-base...
View ArticleHaproxy config does not work
Hi i have trying to do this configuration work but it doesn’t, i don’t why, i am noob with haproxy i just followed a youtube tutorial: HAProxy Crash Course (TLS 1.3, HTTPS, HTTP/2 and more) - YouTube...
View ArticleHasura and HAProxy
I’ve been running HAPROXY for about a month. I started using it to fix a corrs issue and eventually get ready for scale. I recently switched from mongodb to Hasura with postgres, but I am having an...
View ArticleKubernetes masters and API calls to active master
We have a 3 master cluster and want to use haproxy external to the cluster to handle API calls to the master nodes. Since only one master is active and the others are on standby, how can I have...
View ArticleSimple HTTP port redirect not working
Hi there, for a problem at work I am unable to solve, I have created this quick test scenario: I have two servers: 10.32.1.15: HAProxy Server Should bind to 2007 10.32.240.120: Web server Listens on...
View ArticleGetting all http request headers and values in lua
I want to get all http request headers and values in lua context. But I find that there is no connection header and HaProxy skips to save the connection header. Is there a way to get all intact http...
View Article