Key-value mapping: Route by IP
@Cyberfusion wrote: I am using a key - value mapping in HAProxy like this: use_backend %[req.hdr(host),lower,map_dom(/etc/haproxy/clusters.map)] if !letsencrypt-acl /etc/haproxy/clusters.map is filled...
View ArticleCustomize error page by haproxy
@machihkfyg wrote: Hello, I have experience problem is how to setup customize the error page handle by haproxy. Which need to check the status from backend http server. If the backend http server is...
View ArticleBackend down show Maintace
@newtreme wrote: I use HAProxy with pfSense. If a backend is down, I get a maintance site. But if only one URL of the backend is offline, the next client will simply be displayed in the backend. How...
View ArticleMaxconn handling
@machihkfyg wrote: Hello, I am looking how to handling maxconn condition. https://cbonte.github.io/haproxy-dconv/1.8/configuration.html#4-maxconn How’s does the haproxy handle if it reach to maxconn?...
View ArticleTCP Health check failure during high traffic
@go_go_proxy wrote: We are seeing that during a high traffic tests we are seeing the members are being marked as DOWN form haproxy logs. We are trying to debug the issue by collecting tcpdumps during...
View ArticleStruggling to redirect one non-www domain to www over ssl
@rajatady wrote: I am trying to redirect one domain behind my HAProxy load balancer from non-www to www prefix in Rancher over SSL. All the other redirections are working fine. example.com is being...
View ArticleTrying to run haproxy as non-root ... not working
@bmf7777 wrote: i’m trying to modify my haproxy(HA-Proxy version 1.8.8-1ubuntu0.4 2019/01/24) cfg file to run as user haproxy … my config is running fine … if i uncomment the three directives below...
View ArticleUnable to set a cookie on 301 redirect
@Drew wrote: Good Afternoon, I am attempting to do a 301 redirect from my old domain to my new domain, but to have a cookie in the redirect so I can have a popup greeting on my new domain for those...
View ArticleConfig File Size Limit?
@uliromahn wrote: Is there a size limit for the haproxy.cfg file? If yes, what would that limit be? Also, what is the time it should take to parse a really large cfg file until HAProxy is ready to...
View ArticleRemote rest call
@jbrahy wrote: I have to write and check with remote API for each request coming into my haproxy server. Is there a way to send a request with parameters to an API endpoint and based on the response...
View ArticleLua reference manual returns 404
@jbrahy wrote: (topic withdrawn by author, will be automatically deleted in 24 hours unless flagged) Posts: 1 Participants: 1 Read full topic
View ArticleAppending path and redirecting URL
@bmf7777 wrote: i’m using haproxy 1.8…working well with termination and pass-through…i’m trying to no avail to add location servers with path name appended e.g. below is a front-end and back-end that...
View ArticleChrome SPDY connection error
@zeff wrote: Hi all, I’m experiencing an issue with HAProxy 1.8.14 with TLS 1.1, TLS 1.2 and TLS1.3 and alpn h2 enabled configuration. Sometimes endpoint Chrome browsers throws...
View ArticleHAproxy serves content from default backend
@Gianfranco wrote: Hi, my proxy always serves content from default backend. This is my cfg: frontend oracle_front bind *:1521 option tcplog mode tcp #ACL acl host1 hdr(host) -i oracle1.mysite.it...
View ArticleLoad balancing UDP Traffic in HA Proxy
@majid021 wrote: Hi Everyone, I have simple load balancing scenario. In my setup, I have HAProxy HA ( haproxy1, haproxy2 ) with a virtual IP (10.0.0.1) and keepalived in both haproxy1, haproxy2. I am...
View ArticleBlock original client ip instead of Clouldflare source ip
@fcwan wrote: We have a haproxy behind the cloudflare, below is our haproxy’s access log Jun 14 18:09:29 localhost haproxy[69672]: 172.68.253.118:35540 10.50.0.105:80 565 1442 200 GET...
View ArticleLDAP as backend for BasicAuth (Userlist)
@snoopy wrote: Hi everybody, I’m currently moving various former Apache ReverseProxy’d sites to HAProxy. In Apache I used Basic Auth with LDAP as Backend (authz_ldap). In HAProxy one can do Basic...
View ArticleServer-template + server's drain
@twisen wrote: Hi everyone. I’m using Haproxy 1.9 with srv server discovery. I have a problem with the servers’ weight. First, i’m configuring it in the srv record in “10” but in HA stats appears...
View ArticleHAProxy performance issue when proxying to gRPC
@danforth wrote: Hi! I have two gRPC servers and one fat gRPC client. I wrote my own client load balancer, that just simply use random server to perform request. It works perfect, but it has few...
View ArticleHAProxy 2.0.0 header
@scegliau wrote: This morning I upgraded to version 2.0 (from 1.9.8) and a lot of headers arrive lowercase to the backend. It’s strange, not all headers but let me say 99% (the only one with capital...
View Article