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

Redirect trafic based on client domain used

@ajnouri wrote: I have a one arm haproxy with single IPv4 addderss as VIP. clients browsing VIP:80 are forwarded to a real server 1 clients browsing VIP:81 are forwarded to a real server 2 What I...

View Article


Build warning on Raspbian buster on Pi 4

@jszjsmith wrote: Hello there, I’m able to build haproxy 2.0.0 on my Raspberry Pi4 using the following ARCH_FLAG arguments: make TARGET=linux-glibc ARCH_FLAGS='-mbe32 -march=armv7-r' USE_NS=1...

View Article


Rate limitting on real IP instead of previous hop in Kubernetes

@sevaho wrote: Hello Setup I want to use HAproxy to rate limit incoming requests my ideal setup woud be: HAProxy -> Traefik -> Nginx -> SVC where HAProxy does the rate limitting forwards http...

View Article

Issue with HaProxy - trying to use it for TCP failover?

@mvd213 wrote: Hello! First time user. Decided to make an account here since I’ve been struggling for a week with a problem I have 2 QNAP NAS which are being used on Windows machines for mapped...

View Article

Haproxy DNS resolvers

@ykiran_k wrote: Hi, I was testing DNS resolvers section from changing standard DNS port 53 to consul port 8600. In my haproxy configuration, backend server line has consul DNS to my application....

View Article


Add Expires Header to outgoing

@frankkahle wrote: I am running haproxy 1.8.8 —> varnish —> nginx. the problem i am having is that all the pages come with ‘nocache’ so every time someone accesses the site is does not have any...

View Article

How to use "]" in a regsub converter inside a log format

@lucid_thayne wrote: I want to have something like this: http-request set-path %[path,regsub(/prefix/([a-zA-Z0-9]+), /newprefix/\1)] if { path -m beg /prefix } However, I get an errror, because...

View Article

2.0 new option: do-resolve problems

@yick wrote: frontend fe bind 10.0.0.1:3128 transparent mode tcp tcp-request content do-resolve(txn.myip,mydns,ipv4) req.hdr(host),lower default_backend be backend be tcp-request content reject if {...

View Article


Using multiple monitor-uri in frontend

@rollerd wrote: Hey everyone, In the HAProxy 1.8 docs, I don’t see it explicitly stated that multiple monitor-uri statements cannot be used in a single frontend. However, the behavior seems to be that...

View Article


URL based rerouting

@rohit wrote: Hi Guys, How do I change the haproxy.cfg file to ensure that, if the url is http://x.y.z/myurl then the request is routed to server a.b.c.d and if the url is http://x.y.z/myurl2 then the...

View Article

Limit based on cookie combination

@tzn1 wrote: I am hosting a 3rd party website where I would like to limit the maximum logins for a user. I could not find a solution in the 3rd party so I thought I would give it a try if it is...

View Article

2.0.3 cannot connect to freeswitch wss

@jazzl0ver wrote: One more issue just found out after upgrading from 1.9.5 to 2.0.3. One of the haproxy backends proxies webrtc connection to a freeswitch: backend 86_fs_backend # Remove the ACL...

View Article

Send SYN to backend as soon as Client sends one

@nalgoel wrote: Hi, I am new with HAProxy and I am running an experiment where I want HAProxy to send SYN to the backend as soon as Client sends SYN. Currently, I see that HAProxy completes 3-way...

View Article


Active/Passive Configuration for Multiple Backends

@void_in wrote: First of all congratulations for having a great open source community. So by using the backup keyword, we can configure the HAProxy to shift to the backup server (or servers) in case...

View Article

Image may be NSFW.
Clik here to view.

1.5.18 HAproxy Not making backend server down

@ivandotande wrote: currently i want HAproxy to switch to error page if the layer 7 is down. But it doesn’t do that. It will change to error file when layer 4 is down. Current config CentOS 6, HAproxy...

View Article


Haproxy 2.0.3 segfaulted

@jazzl0ver wrote: After working for several hours it’s segfaulted: Aug 1 12:03:50 use1-proxy-02 kernel: [179489.157333] haproxy[14928]: segfault at 38 ip 000000000040b6f9 sp 00007fff9d1e5440 error 6...

View Article

Question about restarting the service

@bigman wrote: At present, I just need to restart the haproxy command, I found that the program can not get up and stop running systemctl reload haproxy Occurred error: root@korea:~# systemctl status...

View Article


Is there any function to get the length of a string? Proxypass example inside...

@fralvarezcalvo wrote: Hello, First of all, thank you all for reading this post. I’m looking for a simple method to just get the length of a string, and I supposed that there should be a converter to...

View Article

Help me to configurations backend with proxy server

@tu.vu wrote: Hello ! I used haproxy version 1.8.8 I have backend is multi-servers, but some server use proxy server. It use only one public IP to the internet but mapping by domain (same...

View Article

Run fe_conn or be_conn to tcp mode

@machihkfyg wrote: Hello, I want to know that does there are any same function as fe_conn or be_conn which support tcp mode rather than http mode. As I want to try limit the number of concurrent...

View Article
Browsing all 4720 articles
Browse latest View live