WebDAV (Synology) throws a 405 error
Hi, I’m hosting a WebDAV server on my Synology NAS that is reachable from outside my LAN using my own domain. HAproxy (v: 2.2.4-de45672) is running on my firewall (IPFire) with the configuration below...
View ArticleSquid as HAProxy backend
Hi Everybody, Recently I needed to setup a Squid (forward) proxy so I can access some resources that I can’t access directly from my home / work IP. I deployed Squid in a container on my VPS, setup...
View ArticleCluster loadbalancing
hello i am new on haproxy. is it possible to create a active-active cluster with 4 node that work simultaneously and answer users requests ? 1 post - 1 participant Read full topic
View ArticleCheck timestamp from URI param string
Hello! I’m used to the HA-Proxy but new to Lua … and what I am trying to do is about to get information from requested URI and check with Lua if, for example, the timestamp provided is within last 30...
View ArticleNumeric variables default to -
Hi, I’m trying to log as json, starting from GitHub - salimchehab/terraform-aws-haproxy-cloudwatch-log-format-json: Setup CloudWatch Log Groups and Metric Filters for HAProxy logs (adjusted to JSON...
View ArticleApache rewrite rule equivalent
Hi there, how would this Apache rewrite rule translate to HAProxy? RewriteCond "%{QUERY_STRING}" !hint RewriteRule "endpoint/o/authz" "/endpoint/o/authz?hint=xyz" [QSA,PT] I tried the following, but...
View ArticleLayer 7 is succeeded but backend server status is not available
Hi, I am new to HAProxy. Trying to set up HAProxy server used for SSL termination. I do not get the status of backend server though frontend Layer 7 pass the check. haproxy -f /etc/haproxy/haproxy.cfg...
View ArticleHaproxy log response cook
Hello how can this value be put into the haproxy log curl -X GET -I https://ss.ru set-cookie: ssdkl = 24e35aec8d5143d8a42701c5368d0de6; Max-Age = 2147483647; Expires = Thu, 21-Apr-2089 13:40:25 GMT;...
View ArticleRewrite url in Haproxy
I am using Haproxy Fastcgi to serve php files for wordpress. Static files are served by Nginx. Everything is working but the wordpress permlinks are not working. Here is my Haproxy config file global...
View ArticleWhat's wrong with http-check send?
Whats wrong with the following configuration? frontend reproducer mode http bind *:80 backend reproducer_backend mode http balance roundrobin option httpchk http-check expect string ok http-check send...
View ArticleTotal max size for log files
Is there a way to enable log rotation and limit the total max size for all log files, something similar to the implementation of logback? 1 post - 1 participant Read full topic
View ArticleStats page access restricted by IP for admin
Hi Guys, Does anyone know of a way of restricting the HAProxy admin page by IP Currently I have 2 users, stats & admin ( stats being readonly and admin allowed to interact ) I would like to...
View ArticleHow to config SSL termination?
Reading previous posts it seems that “req.ssl_sni” is used for SSL termination while “ssl_fc_sni” is used for SSL pass through. But now “req.ssl_sni” is marked as deprecated in the docs. What to use...
View ArticleReplace Header regex
Hi , I am trying to replace header using regex The header is as https://135.222.142.216:8443/cas/login?service=https://135.222.142.216:8443/search/login/cas and i want to replace the first occurences...
View ArticleLog-format for failed TLS
I am using a log-format string to configure my HAProxy frontend log and it works fine only for successful connections, but everytime a Client connects which is not authorized to connect, I am only...
View ArticleHaproxy 2.1 use too much memory more than 200mb when no connections
i used haproxy 1.6.9 before, which only use A few hundred KB when no connections. recently, i upgrade haproxy to 2.1 with openssl 1.1.1i. when i use the same configuration. Memory usage soared to...
View ArticleHaproxy 2 network interfaces
Hello team, I’m having an issue setting up an haproxy with two different network interfaces. I have one for http/https/ssh traffic and the other one is for sftp, the problem is that i cannot access to...
View ArticleRestrict Access to Internal Server for LAN clients only
Hi! I’m using HAProxy on my firewall (IPFire) for SSL termination which works perfectly for some existing servers on backend. I’ve now setup a new internal server and passing any https requests (from...
View ArticleHaproxy 2.4 opentracing extract/use already existent x-b3-traceid header
is there a way for create a span child of an already exixtent x-b3-traceid header? the header is sent from an outside component, but i’m unable to create a span child of the trace that was created...
View ArticleSend sourceIP to backend
Hello! We are looking for a solution helping us distribute(balance) incoming traffic to server farm. We are interested in to use HAPROXY as load balancer. Provided some experiments we had realized we...
View Article