Load balancing Harbor Repo is not working when path_beg is having multiple paths
I have configured my harbor docker registry using HA Proxy. Here is my HA Proxy configuration. frontend ashok_registry bind 0.0.0.0:8080 use_backend maven-repo if { path_beg -i /repository }...
View ArticleGCP Registry behind HAProxy not working properly
I have configured my GCP docker registry using HA Proxy. Here is my HA Proxy configuration. frontend myfrontend bind 0.0.0.0:8080 use_backend maven-repo if { path_beg -i /repository } use_backend...
View ArticleContents load after "timeout server" hit
I’m totally new in the world of haproxy. I’m using it as loadbalancer with the following setup: loadablanacer (haproxy 2.2.9, deb11) 2x webserver with php-fpm and the Roundcube app (a webmail client,...
View ArticleIs it possible to choose traffic path based on whatever is available at the...
Hello guys I have a frontend and backend that looks like this: frontend httpPort mode http bind 0.0.0.0:80 default_backend httpPortTcpForwarder backend httpPortTcpForwarder mode http server...
View ArticleUpgrade from 1.8 to 2.6
Hello, I try to upgrade from HAproxy 1.8 to 2.6 and have to replace a lot of values, as many of them are not valid anymore, and I need a bit help: Example 1: reqirep ^([^:\ ]+\...
View ArticleWeak algorithm supported
Hi , I am new to haproxy i installed it and configure to run it in port 2222 . after that security scan was done by the org and i got port 2222 is using weak algorithms like below . The scan report is...
View ArticleHAProxy - how to point traffic to a new server?
Hi everyone! Completely new to HAProxy here. I inherited infrastructure with HAProxy server, web server and a database server. Due to recent attacks on infrastructure, I would need to roll back my...
View ArticleStore host from previous page
I have two frontends on HAProxy. A user will visit one page, hosted by a server load-balanced by the first front-end. When the user clicks on a link, the page gets directed to another page on a...
View ArticleHaproxy 2.7.1 logging a ton of 0/400/408 errors with
I have 3 frontend servers and 3 backend servers. The three frontends use haproxy, the three backends use openresty (nginx+lua).Two are with the same ISP in Europe, the third is with another ISP in...
View ArticleResurrecting backend servers with health checks
I have the following haproxy config global daemon maxconn 256 defaults mode http timeout connect 4s timeout client 30s timeout server 30s retry-on all-retryable-errors frontend http bind :8080...
View ArticleRouting after domain name
Hi all! Tell me how in haproxy 2.6 you can route traffic to domain names? Given: auth.domain.com/test/* auth-dev.domain.com/test/* auth-stage.domain.com/test/* All domains have the same uri /test/*...
View ArticleProxy protocol causes SSL handshake failure
Hello, I have two servers with HAProxy, let’s call them “Passthrough” and “App”. Passthrough dispatches the requests to our different preproduction servers. App is a preproduction server. I need the...
View ArticleSub Domain routing
How would I configure my back end if I come in with a sub domain xxx.xxx.xxx but I need to access /usr/share/www/index.php? Ideas? Thanks, Ray 1 post - 1 participant Read full topic
View ArticleQueue in front end, if no backed servers available
Hi Is there a way to queue the HTTPS requests in the front end, if no back-end servers are currently available, instead of returning a 503 error to the client? There is a firewall between my haproxy...
View ArticleACL for log-forward
Hello all I’ve been working on creating a new syslog setup and have run into an issue, that i cannot find a solution for, so i thought maybe someone here could help me out. I have a setup with 2...
View ArticleTLS Pass through from HAProxy to 2 2k8 servers
I have a simple (not) pass-through proxy issue with an haproxy server the backend has 2 2k8 windows servers using multiple sites separated by TCP port listen stats:8181 bind 10.10.135.30:8181 #...
View ArticleDDOS protection using rate limits
Hi we are planning to implement rate limits at the haproxy layer to prevent DDOS attacks. I knew DDOS prevention is challenging due to the nature of the attack. To prevent DDOS attacks, we should have...
View ArticlePort forward all http(s) to haproxy for SNI with LE/nginx, and restrict some...
I have an OpenWRT firewall which is configured to send all 80/443 to HAproxy. I use pihole for local DNS/DHCP I then use an HAproxy LXC to route the requests to other VM/LXC’s in my LAN (proxmox VE +...
View ArticleRoute traffic error
Hi, I’m looking to do something kinda simple but without success. So maybe that’s not possible. listen juno_rpc mode tcp bind *:3201 ssl crt /etc/ssl/certs/fullchain.pem ca-file...
View ArticleCannot access kubernetes service with haproxy-ingress
I have followed the guide at Installation | Community Installation Guide | Install outside of Kubernetes | Enable external mode for an on-premises Kubernetes installation | HAProxy Enterprise...
View Article