Httpchk when server maxconn has been reached
@timdaman wrote: Given the following configuration listen input bind :80 bind :443 ssl crt /ssl.pem no-sslv3 mode http option forwardfor option httpchk /index.php http-check expect string 'test'...
View ArticlePD error when calling backend API
@manvendra wrote: Hello All,I've below configuration defaults mode http log global option httplog option dontlognull option http-pretend-keepalive option forwardfor except 127.0.0.0/8 option...
View ArticleUse backend if usr_path*
@ally wrote: Hi folks, looking for some assistance in using wildcards / regexp in backend switching. For example i'll have 100+ acl rules for path_beg /pathname and if these acl rules are matched I...
View ArticleMixed content warning when using HTTPS
@wickeren wrote: I use HAProxy trying to do SLL offloading for a WordPress site. Frontend is on 80 and 443 with redirectRedirection is working well when the page is accessed on port 80.However the...
View ArticleWebsockets and stuck processes
@sharkannon wrote: We're using haproxy to balance both http/https traffic and some websockets. The websockets are present, but when we try to do a graceful restart (/usr/sbin/haproxy -D -f...
View ArticleQuery string not matching in ACL
@ularnis wrote: Hello all, I am trying to use the query string in the client's request as component for an ACL but cannot get it to work.My goal is to create an ACL that will only match if the the URL...
View ArticleHaproxy dead, but /var/run/haproxy.pid exists
@Jabba wrote: Hi All, i'm configuring a new haproxy as a smtp and http/s proxy.As a backend server i have 2 Kerio Connect email server. all works good, but i have a strange behaviour of haproxy: after...
View ArticleV1.6.10 - Soft reload not working under Centos 7.2
@Arianrhod wrote: Hi - I have two haproxy servers with identical haproxy.cfg files, one running under Ubuntu 16.04, the other Centos 7.2. I need the option to maintain existing connections while...
View ArticleHowto block badbots, crawlers & scrapers using list file
@chomps wrote: Hi, I want to block badbots and crawlers from hitting any backend servers. An example bot, taken from apache log is as follows: HTTP/1.1" 403 539 "-" "Mozilla/5.0 (Windows; U; Windows...
View ArticleUpstart haproxy script
@dz0ny wrote: Proper upstart init script for haproxy(that supports reload), can also be used for other PID1 managers or in legacy systems. # haproxy start on runlevel [2345] stop on runlevel [!2345]...
View ArticleUsing multiple cpu cores, any specific drawback?
@jagbir wrote: Our haproxy is receiving traffic where 80% requests are on http while 20% on https. We want to move entire traffic to HTTPS. Done some benchmarking, first with single core and then...
View ArticleAcl giving "404 Not Found"
@derangedsudoer wrote: I am a newb to HAProxy, and am bashing my head against this one. I'm trying to set up what I think is a fairly simple exercise in redirecting a url to a specific port. I'd like...
View ArticleHAProxt Rewrite Query String
@arvindsaket wrote: I have list of numbers which needs to be replaced with the corresponding mapped number. Sample map file is below:From To5.3.0 5.0.13.3.0 3.0.14.3.0 4.0.1 How I can replace number...
View ArticleRedirecting to URI without hoping
@arvindsaket wrote: I have a URL https://example.com/api/agentGroup/zip/90210?type=State and I need to redirect it to "https://example.com/api/agentGroup/zip/90210?type=State" But I need to redirect...
View ArticleX-Forward-for isn't appearing
@PeterH wrote: Good Day, I am running:CentOS release 6.6 (Final)HA-Proxy version 1.5.2 2014/07/12Copyright 2000-2014 Willy Tarreau w@1wt.eu I have the following frontend-backend block in my...
View ArticleBackend servers are down due to Layer4 connection problem
@vasu.tubati wrote: I have HA LB configured with 3 backend servers . From the logs, i see that one of the nodes are going down frequently and coming up . Error message is like below. eb 16 08:38:36...
View ArticleAltering responses
@Markvr wrote: From reading the manual, I'm pretty sure this isn't possible but thought I'd double check... Is it possible to alter the HTTP content (not headers)? Specifically to inject some HTML...
View ArticleReload timeout setting
@Markvr wrote: When changing back end config, and reloading haproxy using "-sf" it often seems to take a long time (~120 sec)for the old process to go away. During that period, refreshing an existing...
View ArticleHAProxy 1.7 Using the REST API
@mastermindg wrote: I want to use HAProxy's REST API to deploy load-balancer changes to my cluster. I'm following the documentation here:...
View ArticleSSL Encrypted Alert (21) on TCP mode
@kmg wrote: I've a haproxy setup with tcp mode ssl configuration [ to offload ssl sockets traffic]. But Socket is not connecting from Chrome 56 browser. Whereas site loading fine on previous version...
View Article