Haproxy make TCP tunnel to HTTP Connect Proxy
@jfeddersen wrote: Hi, i am looking for a very “special” configuration. The clients connect to the Company’s main HAProxy. From there our SEC team has a centralized SQUID instance to DMZ/Company...
View Article'http-request set-header': failed to parse sample expression : unknown fetch...
@bvoros wrote: Hello Haproxy People, I am looking at a config that was inherited and appears to have some problems. Upon restarting haproxy (1.6) the following warnings can be seen in the log: Startup...
View ArticleLong delay when restarting haproxy servcie
@bvoros wrote: Hello HAProxy people, When restarting haproxy a considerable delay is observed and the following is printed in the log: Jan 30 15:05:02 dev-api-proxy haproxy-systemd-wrapper[9576]:...
View ArticleSession count in stats
@Vlad wrote: Hi all, I’m a bit confused about haproxy status page. The numbers does not match. Let’s imagine, we have 1 Frontend and 3 Backends. Now, the stats reports 50 current sessions on Frontend...
View ArticleDetect code 200 ( http-check expect )
@guif wrote: Hi! I have the following configuration to detect a status 200 after an script executes: listen ReadWrite bind *:5000 option httpchk http-check expect status 200 default-server inter 3s...
View ArticleRedirect to remove trailing slash, with query string
@lucid_thayne wrote: What is the best way to write a rule to drop a trailing slash in a redirect, but keep the query string if any? http-request redirect location %[path,regsub(/$,)] code 301 if...
View ArticleHAProxy between tcp output and logstash
@NPC_1337 wrote: Hi, we have some custom applications that send their logs (so far) via unencrypted tcp (simple JSON). We would like to collect those using a Logstash in front of an Elastic Cluster....
View ArticleNew To HAproxy Setting Up In a Test Lab
@paul1 wrote: Hi, I have a virtualbox lab with two servers with IIS installed and a test website i found called guitarbugs, which is internally accessible, and which is setup in IIS on both servers...
View ArticleHaproxy1.9.1 getting crashed
@ajaysingh wrote: Hello All, We are not able to figure out why the haproxy is getting killed. Jan 31 15:58:16 ip-172-16-21-136.ca-central-1.compute.internal haproxy[5135]: Starting haproxy: [ OK ] Jan...
View ArticleAuthentication by client certificate OR basic auth
@dan12345 wrote: Hi, I’m just getting started with HAProxy, and would be grateful for help with what’s probably a stupid question. I have some users accessing from a desktop (for whom basic...
View ArticleHaproxy hash table limit for consistent hashing
@egozkan wrote: Hello all, I have configuration as shown below. It works very well but i want to know, is there a limitation for hash table? For example, what happens if I use this configuration for...
View ArticleLog-format %HU for http/2 requests
@joel-l wrote: Hi! I’m unsure whether this is a bug or me misunderstanding the documentation. In haproxy 2.1.2: According to the documentation, in log-format, %HU should be: HTTP request URI (ex:...
View ArticleHaproxy track bruteforce
@FrancisL wrote: I’m evaluating to do some bruteforce rules ie: I have this … http-request track-sc0 hdr(x-forwarded-for) table Abuse if METH_POST url_wp_admin_test !is-whitelisted-ip Is there a way...
View ArticleMetrics about usage of backup servers
@uves wrote: I am using haproxy in as a loadbalancer in front of an http application that uses active-passive failover with active health checking. It works very well. Now I want to improve my...
View ArticleBalance issue: redis failover. How to stay on master with longest available...
@asp wrote: Hi, I am using redis with one master and one slave. I want to use haproxy to do the failover. I must only forward data to the current master. This is my current config: frontend ft_redis...
View ArticleHAproxy in PfSense
@ce13 wrote: Hi, I just setup HAProxy in PfSense for reverse proxy usage. I am able to access the webpage but I found some issues: Edgerouter GUI dashboard graph/chart cannot be loaded. When this was...
View ArticleHaproxy itself talks proxy protocol
@hgruber wrote: Using the send-proxy option in a server allows the proxy protocol to be forwarded for the requester. Is it possible that the haproxy itself generates the proxy protocol in the server...
View ArticleSearch documentation to setup a Reverse Proxy
@Sponge_B0B wrote: Hi everyone, I have few Virtual Machines who are running web applications as web server, Word Press etc… I would like to install HAProxy (on LinuxMint) and setup a simple Reverse...
View ArticleClient certificate verification for subdomain
@mxsxs2 wrote: Hi. I made a simple setup where I check for a given subdomain if a client certificate is valid or not. The below configuration checks if dev.example.com subdomain is called. It uses a...
View ArticleExternal health check not updates with changes server ip address
@sandergr wrote: We have a docker swarm setup in which we deploy to haproxy services (version 2.0). For our mariadb database services we use an external healtch check script because it needs to check...
View Article