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

Redirect to backend comparing requests and host in a file

Hi, I have a file, /etc/haproxy/deny_hosts.txt,antiddos I want to have a first acl: acl acl_antiddos hdr(Host),map_dom(/etc/haproxy/deny_hosts.txt,antiddos) -m found use_backend antiddos if...

View Article


Backend maxconn not working

Hello, I have multiple instances of HAProxies and I’m trying to limit the total connections on the backend servers. The issue is that, even though I’ve set the server worker1 172.16.7.107:8080 tfo...

View Article


Trying to enable CORS on HAPROXY using lua but getting error

I’m trying to enable CORS on HAPROXY using the the lua library but getting the below warnings when I start the HAPROXY service which looks as if my CORS config rules will be ignored Apr 21 14:13:16...

View Article

Image may be NSFW.
Clik here to view.

How to ignore the hdr(host) using field converter

i having the configuration acl demo hdr(host) -i praveen.com:www.praveen.com from this i need only praveen.com acl demo hdr(host),field(1, -i praveen.com:www.praveen.com 1 post - 1 participant Read...

View Article

Why second proxy started without restarting haproxy service

for service A1 and A2, there are sharing two backend servers, we can name it as HostA1 , HostA2 (all service are based on tomcat web service) for service B1 and B2, there are sharing two backend...

View Article


Unexpected error message

I am trying to configure health checks for my back-end using http-check send meth POST, but get the following errors when running haproxy -c: [ALERT] 115/082934 (182726) : parsing...

View Article

Dataplane api acl replace manual up-to-date?

(topic deleted by author) 1 post - 1 participant Read full topic

View Article

Leastconn connections count after reload

Hi everyone! This is most likely a newbie question, but I couldn’t find the answer anywhere: I use leastconn for long connections in TCP mode. When I need to reload haproxy (after a conf update), does...

View Article


Issue with HAProxy not retrying on retry-on

We were having issues with Apache mod_proxy getting random 502/503 errors from our backend server (that we don’t control), so we decided to give HAProxy a shot in testing. We setup HAProxy and got the...

View Article


Shared Frontends - how to do SSL of loading and SNI forwarding

Hi, I’m using haproxy through PfSense and as I’m not able to have my conf working, I was wondering if what I need is possible or not, hence my question here. here is a recap of my need : I have 1...

View Article

Regsub default vars in log-format

I have log-format with %hr and %r vars and I want to do regsub before logging them. I tried %[var(req.hr),regsub(…)] and %[var(req.r),regsub(…)], but it doesn’t work. Is it possible to use default...

View Article

DNS Discovery Flapping

Every now and then we see multiple backends flapping with this messages is going DOWN for maintenance (entry removed from SRV record) And sometimes when this message appears, traffic goes to BUSY for...

View Article

HaProxy supporting the DNS UDP queries in the load balancing

Hi all, I am new to HA proxy, I have tried searching in the official docs and other forums whether HAProxy can handle the UDP(DNS queries) in the load balancing but I don’t seem to find it. Can anyone...

View Article


Redirect all path of front-end to a default page in backend server

I want to redirect all path not in the acl to the default login page in the backend server frontend 123 acl to1 url_beg /api acl to2 url beg /login acl to3 url beg /logout use_backend backend if to1...

View Article

Check cookie before using back-end server

When HAproxy redirect request to the backend server, can it check the request header include a cookie? If there is no such cookie, it will not access the backend server and redirect to another backend...

View Article


Failed to start HAProxy Load Balancer .Failed with result 'exit-code'

I am mounting an ssl certificate in load balancer, install haproxy and when starting it I get this error: haproxy.service - HAProxy Load Balancer Loaded: loaded (/lib/systemd/system/haproxy.service;...

View Article

Image may be NSFW.
Clik here to view.

Failed to start anyip-routes.service

Hello, i’m troubleshooting HAProxy for vSphere with Tanzu and im getting “Failed to start anyip-routes.service” error. I checked the subnetwork in /etc/vmware/anyip-routes.cfg and it’s the same as the...

View Article


Webmin over haproxy

I am new to haproxy I have manage to make it work some web pages over haproxy, but I can’t make it with webmin which is on port 10000. Can someone help me to push webmin over haproxy? I get this error...

View Article

Image may be NSFW.
Clik here to view.

Rate Limit by URL

Hi, I make this: HAProxy Technologies – 30 Jul 19 HAProxy Rate Limiting: Four Examples - HAProxy Technologies In this blog post we will show four examples of HAProxy rate limiting to stop clients from...

View Article

Unable to load SSL certificate from PEM file

Hello, I’ve been playing around with HAProxy and trying to get familiar with it. I have a very simple website that’s hosted in my test environment and I’m trying to configure TLS. I have a test CA and...

View Article
Browsing all 4714 articles
Browse latest View live


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