Quantcast
Channel: HAProxy community - Latest topics

Png picture not displayed on the site trought haproxy

Hello! After setup haproxy, png picture not displayed on the site! On the application catalog have the file ‘test_code_location.png’. My colleague some time ago added to configs settings for show this...

View Article


Image may be NSFW.
Clik here to view.

Hapee / fusion discussion

Hi all, We are running a PoC with hapee & fusion, and are wondering if there is a place to discuss issues? It seems the discourse here is on the regular open source version, but we have some...

View Article


Image may be NSFW.
Clik here to view.

Haproxy and Lua Turnstyle cloudflare verification + Rate limit against bots

Does anyone have this script and the config to share with us ? 1 post - 1 participant Read full topic

View Article

Printing Username in Haproxy logs

As of today, we log client ip in haproxy logs and manually ping it to identify the user. Is there a way we can print username in the logs by authentication or some other way? 1 post - 1 participant...

View Article

Cache in version 2.8

I would like to activate caching in my HAproxy 2.8. I have a few questions about this. do I have to define what exactly should be cached or does haproxy do this automatically, i.e. that no dynamic...

View Article


Image may be NSFW.
Clik here to view.

Keycloak behind HAProxy

Hi, I’m a self hoster running a home lab. I’m semi new to Linux and Keycloak so please be gentle. I have successfully setup Keycloak with an OpenLDAP backend. I have it running the production profile...

View Article

Haproxy throwing http 503 when backend going down

Hello! I have one haproxy instance over 2 backend web servers. My Haproxy config: global defaults log global mode tcp option dontlognull timeout connect 5000 timeout client 50000 timeout server 50000...

View Article

Bad gateway error .Error 502

Hi im using HAProxy version 3.0.8-6036c31 on opnsense as a proxy for several servers. ACME server is configured also. this is server config: # # Automatically generated configuration. # Do not edit...

View Article


Cloudflare Generated RSA for HAProxy in Digital Ocean: SSL handshake failure

Order of cloudflare.pem -----BEGIN PRIVATE KEY----- … -----END PRIVATE KEY----- -----BEGIN CERTIFICATE----- … -----END CERTIFICATE----- GNU nano 8.1 /etc/haproxy/haproxy.cfg M global log /dev/log...

View Article


HA Proxy Route based Config on different port

I have below haproxy config. frontend main bind :443 ssl crt /etc/haproxy/example.uat.pem ciphers DEFAULT:!LOW:!RC4-SHA:!RC4-MD5:!DES-CBC-SHA:!DES-CBC3-SHA no-sslv3 no-tlsv10 no-tlsv11 bind :80...

View Article

Trouble using path_reg with ACLs in HAProxy (regex seems to break everything)

Hi everyone, I’m currently running HAProxy in a Docker container using the official haproxy:lts-bookworm image. My setup is working fine for basic ACLs using path and hdr(host), but I’m running into...

View Article

TCP mode - forward request to different backends based on substring (without...

What I’d like: one frontend section (e.g. bound to port 80) two backends the first one is “static files” served over HTTP the second one is a TCP response generation service that let’s users generate...

View Article

HAProxy Email SOurce Address Issue - Maybe

Hi All, I’ve got a problem that has HAProxy in the mix, but I don’t know if it’s a HAProxy issue or something else - yes, I’m flying a little bit in the dark here groping around for at least the trail...

View Article


Wildcard redirects using map file

Good afternoon! I was hoping that I could get some help with a new requirement that I’m trying to iron out. Our website is going through a redesign, and we have a ton of pages that need to be...

View Article

Nextcloud AiO setup

Hi guys, I have a question concerning hosting a Nextcloud AiO behind HAProxy. On the github page of the Nextcloud AiO I found this guide. This is the expected setup: global chroot /var/haproxy log...

View Article


No-memory-trimming, release unused memory from old process

Hi, we are using haproxy to load balance a fairly big service, approx 150k active websocket connections at a time. This is all routed through the one load balancer running haproxy, to one of 3 nodes...

View Article

Issues with Cloudflare -> Haproxy -> Varnish setup when using http-reuse...

Hi, our setup consists of Cloudflare, Haproxy and Varnish. My issue is with http-reuse always/safe. It is causing some requests to route wrongly in varnish. Here’s my haproxy config: global cpu-map...

View Article


Image may be NSFW.
Clik here to view.

Can't Upload Files To Servers Trough Front End Getting 403

I have a few worker nodes that were on a different LB I moved them to HAP they seem to work fine and can see traffic flowing trough, but when I try to upload a file I get 403. I’m suspecting that the...

View Article

How to calculate memory needs with http2

Hello All! Two questions for this group. First, is this the correct formula for calculating memory needs when http2 is not used: (tune.bufsize) * (global maxconn) Second, is this the correct formula...

View Article

Image may be NSFW.
Clik here to view.

How can I take a substring from the path to use it elsewhere?

It’s been forever since I edited the HAProxy file. I had been using a GUI for it and I forgot a lot of stuff. I didn't have much luck with the docs. (click for more details) I’m trying to use a...

View Article

TCP mode for NX protocole load balancing

Hi! Is it possible to load balance NX (TCP) traffic between two servers ? With free edition ? With enterprise edition ? NX is SSH-like protocole used by NoMachine, remote desktop solution. Thanks!...

View Article


Uri rewrite , append

Hello everyone. I need to rewrite the incoming uri/path if it matches. like if incoming path start with /test/*** then change this to /test/testing/** Basically, we are appending /testing/into the...

View Article


Structured data lost when forwarding logs voa syslog forwarding feature

I’m currently testing a setup where a syslog-ng client is shipping its logs to an Haproxy syslog forwarding endpoint which then forwards to a remote syslog-ng server. The logs arrive at the...

View Article

Image may be NSFW.
Clik here to view.

I am facing HAProxy Connection Issues

Hey everyone, I am working with HAProxy in a project & I am facing connection issues that I am struggling to troubleshoot. The setup is fairly simple: I have HAProxy configured as a reverse proxy...

View Article

2.2.3 multiprocess -> 3.0.8 multithreaded TLS performance degradation

Hi all, I’m working on trying to port existing haproxy instances from 2.2.3 using nbproc to 3.0.8 nbthread and hitting a (literal) TLS performance wall. The hardware and underlying OS is identical,...

View Article


Installing Kubernetes Ingress Controller: Can I put everything in a Helm...

I’ve been able to install the Kubernetes Ingress Controller using Helm helm install haproxy-controller haproxytech/kubernetes-ingress --set controller.service.type=LoadBalancer --set...

View Article

Using parameters in http-request set-map filenames

I’m trying to update my haproxy config to allow different map files to be updated using http-request set-map as described in the haproxy blog, Introduction to HAProxy Maps Instead of hardcoding the...

View Article

Calling Backend with FULL url

Hi I am new to haproxy and facing difficulty with backend with full url I have the following setup: HAProxy version 2.4.22-f8e3218 OS = Rhel9 My situation User do the following 1.) Open browser and...

View Article

DNS resolution libc works, resolvers does not

Using version 2.6.18 I am updating a working haproxy configuration to be able to handle backend servers not being up yet at the time haproxy is starting. It’s a docker container running in kubernetes,...

View Article



Trying to forward HTTPS from 443 to 1433 in TCP mode

Hello! I have two servers (192.168.0.101/2) running two web servers (via containers), one of them listening on port 443 and the other on 1443. I set up HAproxy on TCP mode and each web server is...

View Article


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