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

Does HAProxy support UDP?

Does HAProxy support UDP? I am attempting to retrieve SonicWall firewall logs in my syslog manager via HAProxy. However, SonicWall only sends logs using UDP, so I’m unable to receive the logs. can...

View Article


Image may be NSFW.
Clik here to view.

Quickstart HAProxy Community Edition dataplaneAPI

This guide was written after starting up a brand new Ubuntu Server on 22.04 and details the steps taken to quickly get the dataplaneapi up and running. sudo apt-get update sudo apt-get install haproxy...

View Article


Image may be NSFW.
Clik here to view.

Restricting URLs to an IP range

Hey folks, I’ve got three web servers balanced by two HAProxy servers that all need to be accessible to anyone on the internet. There’s an admin login page at a separate URL (essentially...

View Article

Redirect all requests without a path

I tried this but it’s not redirecting. How do I test to see if the incoming request has nothing in the path or just / in the path. acl is_root_request path / http-request redirect code 301 location...

View Article

HA Proxy Log configuration - 2.8.2 - Ubuntu 20.04

Hi, I have installed HA Proxy and Load balancing not working. stats webpage is working and all listen / backend check service also working. But when try one service it not taking to front end. I...

View Article


Rate limit based on the number of success request

I am using the below configuration, stick-table type binary size 100k expire 5s store http_req_rate(5s) acl abuse sc_http_req_rate(0) ge 5 http-request track-sc0 hdr(room) unless abuse http-request...

View Article

How to change response petition with 302?

Hi Community I have a problem, I have a request server behind a HAPROXY and when receiving requests through http it sends 302 redirects, how could I make the requests go through with their native...

View Article

Allow only specific path url with 443/cert

hello i was search already whole day how to work this but have not found any solution. have enviroment where haproxy have url that using certificte on ngnix on backend server, so connection is go :...

View Article


Image may be NSFW.
Clik here to view.

Ocsp-update haproxy 8.2

Hi everybody, I notice a new interesting functionality ocsp-update in haproxy 2.8 and wanted to test it. According to doc1 and doc2 I moved my crt into the crt-list, but i am getting an error with...

View Article


I am not able to enable udp traffic

haproxy -f /etc/haproxy/haproxy.cfg [NOTICE] (211741) : haproxy version is 2.4.24-1~bpo11+1 [NOTICE] (211741) : path to executable is /usr/sbin/haproxy [ALERT] (211741) : parsing...

View Article

How redirect https://www.example.com to docker container

Hello , i am new to haproxy and i tried this configuration to redirect https://example.com to my docker host . but when i try i get error of “Secure Connection Failed SL_ERROR_RX_RECORD_TOO_LONG” in...

View Article

Unable to Reach app from Specified URL

I am new to Haproxy. I intend to do a reverse proxy using Haproxy. My setup is as follows I have two Haproxy Servers with keepalived installed for HA, and then I have my applications hosted on several...

View Article

How to use gpt0 with runtime API to route certain IPs

Hi, I have a frontend definition that looks like this: frontend fe_imap from defaults_1 bind 127.0.0.1:143 bind [::1]:143 bind 192.168.0.2:143 stick-table type ip size 100k expire 24h store gpt0 acl...

View Article


Haproxy HA to Redis , server closed the connection

I have an haproxy that is a frontend to Redis. Things connect fine, but wen the connection has sat idle for for a minute or so, when you enter the next redis command you get “server closed the...

View Article

Haproxy Cookies Configuration for Multiple backend server

Hello, Can anyone guide me to configure cookies in below scenario…! My backend servers are configured with AWS Autoscaling Group, so I’m going to add and remove backend server to/from Haproxy...

View Article


Add http start-line to tcp message

Hello, thanks in advance for the help. Trying to figure out if this something haproxy can do. I’m sure it can, I just can’t figure out how. receive a TCP connection on front end read the first line...

View Article

Cannot cache JS content in HAProxy

I’m trying to cache some static content in HAProxy. I did check all the limitations described in the configuration manual, and it seems to me I’m not falling into these cases, yet the proxy is always...

View Article


Trouble with starting the Data Plane API

Hi there! I am attempting to run the HAProxy Data Plane API from a Docker container in Kubernetes and I have gotten to the point where the app is crashing with no logs whatsoever. At first it was...

View Article

Route traffic by destination port

Hi, I would like to know if it’s possible to route the traffic by destination port to the same server and port ? For example : frontend tcp_balancing mode tcp bind *:9000 bind *:9001 use_backend...

View Article

How to silent 'SSL handshake failure' logs

Hey Guys, I recently updated my config to use the latest ciphers and TLS1.2+ version, which should be fine for the valid traffic. However, I’m now seeing a lot of “SSL handshake failure” logs that I...

View Article
Browsing all 4849 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>