Quantcast
Channel: HAProxy community - Latest topics
Browsing all 4729 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

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 Article


How 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 Article


Modify 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 Article

Haproxy 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 Article

HAProxy 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 Article


I 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 Article

Haproxy 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 Article

How 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 Article


Compile 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 Article


Redispatch 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 Article

Binding 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 Article

Image may be NSFW.
Clik here to view.

Logging 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 Article

Accept-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 Article


POST 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 Article

Using 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 Article


Image may be NSFW.
Clik here to view.

Haproxy 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 Article

Hasura 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 Article


Kubernetes 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 Article

Simple 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 Article

Getting 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
Browsing all 4729 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>