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

Remove account option?

Hello, I am enable to find a way to delete my account in the settings, could you help with this somehow? 1 post - 1 participant Read full topic

View Article


Load balancer for the DB cluster, restrictions to the database through the...

I’m configuring haproxy as a load balancer in a cluster. The idea is to limit access to the database to only allowed addresses. Databases percona operator for mysq. The configuration is as follows:...

View Article


Logging error details found in "show errors" socket command

Hello, we have some cases where a backend server returns an invalid response, which HAProxy then returns as a 502. We can see more details using the “show errors” command against the stats socket....

View Article

Append string to backend name after using field to get substring of host header?

We have HAproxy 2.1.11 configured so that it handles 80/443 and routes to backends based on the subdomain (i.e. test.some.example.org goes to the backend named test), and want to extend this to doing...

View Article

Alternate mechanism to load certificates

Hi, What mechanism other than plain file exists, if any, to load certificates? I find having files around in a workload is dangerous; a malware could access them and exfiltrate the private key. So I...

View Article


Where am I going wrongly with TLS passthrough and SNI filtering

I’m trying to run a configuration where haproxy runs on a VPS and filters urls to different backend servers, passing the TLS through so that it can be terminated at the destination server. Here’s a...

View Article

Image may be NSFW.
Clik here to view.

HProxy Formatting issues?

Hello Everyone I am trying to set up two HProxy on Photon to use them as Loadbalancers for my VMWAre Horizon connection servers. Here is my config: # HaProxy configuration # Global definitions global...

View Article

Use HAProxy to forward linux repositories

Hi In my company Linux servers doesn’t have internet access and for them to access to their repositories I would like to use HAProxy as forward proxy like in linux servers host files assign proxy...

View Article


Missing prometheus _server_http_responses_total

After installing haproxy 2.8 2.8.3-1~bpo12+1, released 2023/09/08, I noticed that the Prometheus metric haproxy_server_http_responses_total is missing when scraping /metrics. Server works and respond...

View Article


Set Host header in backend, conditionally

In a backend have a list of servers. Need to add an AWS CloudFront server, which needs a matching Host header (different than the default. Plan to use http-request set-header Host host.name if {...

View Article

Replace one domain (url) to the other

Hello, how to make Haproxy replace Location there is a domain https://test.com/login I want clinet to get the same after entering https://localhost/login but backend verifies that the match must be...

View Article

Image may be NSFW.
Clik here to view.

Mode TCP domain acl

Hello, i need help ! I try to proxying my rdp virtual machine on proxmox this is my current configuration of haproxy. i know in tcp mode acl with hdr(host) not work because we not use http. So how can...

View Article

Updating backend used by a list file via Stats socket

Hi Everyone, I am struggling to identify the correct syntax to route hosts defined in a list file to a different backend e.g. for temporary maintenance, via the stats socket. In the HAproxy config, I...

View Article


Acl path_beg does'nt work with my sni

Hi! I’m very new to Haproxy and how to set up different rules in my frontend. My problem right now is how i make my sni work with the path-acl, everything works fine without it but when I try to use...

View Article

Identifying and Redirecting Traffic Based on User-Agent Header in HAProxy

Hello HAProxy Community, I’m using HAProxy for my Pfsense and traffic management needs, but I’m facing a challenge when it comes to identifying and redirecting traffic based on the User-Agent header....

View Article


Haproxy fighting internally which server to use

Installed on two Ubuntu servers Jitsi and Jellyfin, both working fine if in Haproxy is only one server defined. Two servers, with roundrobin or leastconnection are interrupting each other to send the...

View Article

Trying to create a loading page

Hey Guys, after several hours of intense research and multiple days with asking chatgpt in multiple ways you are my last hope. Iam trying to => Show every user that accesses any domain or website a...

View Article


Help needed: I am trying to use HAProxy to deny access from internet to a...

Hi all I am a beginner level HAProxy user and I am trying to use HA proxy to deny access to an inside web page from outside of my firewall. I am sharing photos with my family using an internal server...

View Article

Image may be NSFW.
Clik here to view.

Erase path prefix to able it for a application

Hey everyone! Im trying to make haproxy rewrite url’s to make them function with a webapplication that a supplier got. The application dont understand prefix (paths) and needs it to be erased before...

View Article

Disguise Backend DNS

Hi, I am trying to disguise the DNS of the backend’s webserver. If the config would be simple as: frontend https-frontend bind xxx.xxx.xxx.xxx:443 ssl certificate.pem # General Rules acl path_is_root...

View Article
Browsing all 4735 articles
Browse latest View live