Anyone serving PHP-FPM directly from HAProxy?
This is a very interesting feature, wondering if anyone is already doing this and would share some wisdom… Additionally, could the static content be served from HAProxy directly hence no more need for...
View ArticleDecode gzip body before sending to upstream
Hello I have a situation where clients are sending me gzipped json bodies. Is it possible to decode them before sending them to the upstreams? Thx 1 post - 1 participant Read full topic
View ArticleChanging port backend doesn't work since in memory value is not changed
Hi, I am facing an issue when changing the port of an already existing backend. It use to be 443, all good, but when I change it to something else the healthchecks are fine but the value in memory is...
View ArticleHttp-reuse always not working
Use haproxy version is 2.3.1-bdd7178 Here is my config: global log /dev/log local0 log localhost local1 notice maxconn 2000 daemon defaults log global mode http option httplog option dontlognull...
View ArticleSsl_fc_sni redirect changed from 2.2.5 to 2.2.6
Hello, up to now I’d configured http-request redirect location https://www.example.com/ code 301 \ if { ssl_fc_sni -i example.com } Since updating to 2.2.6 this produces an endless redirect loop...
View ArticleAWS - Network Load Balancer - HAProxy. Redirect to 443 port
Hi. Network Load Balancer is configured on AWS and listens to ports 80 and 443. Through TargetGroup, packets are sent to EC2-instance via the 443 TLS port. The domain’s SSL certificate is attached to...
View ArticleHelp with runtime api
Hello guys! I’m struggling with runtime api information and need some guidance… In Haproxy’s runtime api documentation we have this information: Hello guys! I’m struggling with runtime api information...
View ArticleReverse Proxy Settings with PFSense
Hi there, Just started using HAProxy, and am trying to learn. Sorry if this is obvious to others, but I’m banging my head against a wall here. I want HAProxy as a reverse proxy on an internal website....
View ArticleOption httpchk seems not work for https env
i’m using https haproxy connect to backend https server ( aaa1.test.com and aaa2.test.com, deployed by IBM was). arch1857×473 37.4 KB currently, there are two exposed port for the any backend server...
View ArticleSSL passthru not working
Hi , I would like to have ssl -pass thru working for my env. from my random read on internet and this side, i understand that i need to use “mode tcp” for ssl-passtru to work. on the fronend, i do lot...
View ArticleConfig : backend 'HAControlPlaneNodes' uses http-check rules without 'option...
I am following the configurations as documented on the official page haproxy configuration in order to set an HA k8s cluster with HAProxy. The cluster can register them self with the LB but I can see...
View ArticleBackend Pooled Connection Lifetime
I’m not able to find a configuration that closes or abandons backend connections after a specific period of time. I’m seeking a configuration that aggressively reuses backend connections but only keep...
View ArticleHAProxy is unable to load SSL certificate from PEM file despite valid PEM...
Though close to the previous question, this is not a duplicate. The issue is not addressed by other Q&A that addresses a much older version of HAProxy. HA-Proxy version 1.7.12 2019/10/25...
View ArticleDataplane API Config Persistence
Started working with the Dataplane API. Have a use case that requires dynamic addition/deletion of backend servers. The API documentation is sparse but adequate. One question I do have is this. Does...
View ArticlePlease help me debug my generation of self-signed certificate for HA Proxy
Hello I will post my private key in its entirety because it is an example for development and debugging purposes. This is the process by which I have created my PEM file: serversforhackers.com Using...
View ArticleHaproxy 2.2.3 stops accepting connections during lua execution - what...
greetings from down under I have configured haproxy 2.2.3 running on an RHEL7 VM to accept https browser traffic and forward to http back end, but intercept two specific URLs - a redirect resulting...
View ArticleMore connections on one node than other
Hi I have setup HAProxy to redirect the traffic to 2 application nodes but I am seeing more traffic going to one node than other. Anyone else ran into this issue? Help!!! Here’s the configuration in...
View ArticleShare acl across frontends / backends
In a configuration that share the same acl across all the frontends and backends like this example one: frontend front1 ... acl static1 path_end .jpg .gif .png .js .css .svg http-request ... if...
View ArticleDNS Resolvers drops the http-request header
I got following issue, please help haproxy.cfg resolvers awsvpc nameserver vpc 169.254.169.253:53 hold valid 10s backend myweb http-request set-header myheader 123 server disabled-server 127.0.0.1:1...
View ArticleHaproxy and Vhost
Hello everyone . Thank you for your wonderful work, and such a great community. this is my first time using haproxy and and trying to create a load balancer on https. The main domain points to Haproxy...
View Article