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

Http applet logging

In an http applet, how do I do logging… I would like to be able to do core.Info to log a header value core.register_service(“abuse_ip”, “http”, function (applet) local response = “Access forbidden....

View Article


Capturing HTTP header (X-Forwarded-For with wrong IP: 10.0.0.2)?

Yet another X-Forwarded-For issues (e.g. Need to see client IP in HAProxy logs or X-Forwarded-For not working - #6 by moscardo)… I have read through all of them including the docs, but I am lost. I am...

View Article


Image may be NSFW.
Clik here to view.

Dynamic backend server based on request host header

Hello ! I have a pool of servers with a dedicated private dns record to each server: example1.test.com: 172.10.0.1 example2.test.com: 172.10.0.2 … I want HAProxy to be able to receive requests with...

View Article

Redirect URL - domain and path using HAProxy 1.6

I’ve been asked to setup a redirect based on a path where the destination will be a different domain and path. I’ve used path_beg successfully for other redirects where the domain is changing but the...

View Article

What is the result of the gpc_rate() function when the gpc value overflows?

First of all, the maximum value of gpc seems to be 4,294,967,295. When it overflows, it is set to 0. At this time, I wonder if the value of the gpc_rate() function comes out as a negative number or is...

View Article


Wildcard Cert FE, Self-signed BE

Hello everyone, I have a FE I am trying to create. The FE is using a wildcard.domain.com certificate. The backend servers connect on 443, and use a self-signed certificate. In packet captures, I get a...

View Article

Ubuntu 22.04 performance

Hello, While I’m not sure this is the correct place to post this, I said I’d give it a try, maybe there’s someone who can help: We’re given the following scenario: an ubuntu 20.04 (kernel...

View Article

Image may be NSFW.
Clik here to view.

Block connect with status and user and devieceid

hi,all i need help i want to block connection with status code and user and devieceid. i found this topic: stackoverflow.com How to form a stick table based on url parameter in Haproxy haproxy asked...

View Article


Image may be NSFW.
Clik here to view.

Cannot bind socket issue

Hi All, I am very new to haproxy… I am trying to install haproxy on AKS with very minimal configuration. I have issue with my config map could you please help me on this? I am not going with Helm...

View Article


Haproxy with ingress

Hi Team, I have a confusion/issue with haproxy. I am implementing haproxy on AKS… I have haproxy deployment, service and configmap files… In configmap I am adding frontend and backend details… now I...

View Article

Selinux Rules with installed haproxy from source codes

Hi everyone recently i’m installed haproxy 2.7.6 from source code on RedHat 8.6 (Linux) , and i configured some sites with ssl and these sites are work , but sometimes when i request one of these...

View Article

Image may be NSFW.
Clik here to view.

Is this error critical?

I don’t understand , What is this error ?? Thank you for supports 2 posts - 2 participants Read full topic

View Article

Image may be NSFW.
Clik here to view.

False responses to site requests through

hello everyone, when checking a site through a haproxy using curl, there are false responses, for example, the site works normally but the proxy responds with a 503 response code, for check I...

View Article


Can I get termination state from fetch method or lua script?

I want to count the timeout connections using stick-counter , but I can’t seem to catch anything. If you know how, please let me know. 1 post - 1 participant Read full topic

View Article

I should to install selinux module?

Hi ,do i should install selinux module from the path /admin/selinux when I build compile haproxy from source code ?? or default all automatic installed configurated and I don’t have to do anything ?...

View Article


Haproxy with Keycloak and JWT

Hello, i need help at the configuration file of haproxy. The new config setup without lua-script doesnt work for me or i might be dont understand how to use it. → Verify OAuth JWT Tokens with HAProxy...

View Article

Image may be NSFW.
Clik here to view.

Override balance source with use-server

my haproxy version: HA-Proxy version 2.0.29-0ubuntu1.3 2023/02/13 I use balance source in my haproxy config. for specific urls i want to use a specific backend server overriding this rule use-server...

View Article


Using different backend based on Path

Hi, I am new to HAProxy and struggling to configure my path based routing correctly. I am using consul discovery and load-balance consul service through HAProxy. Here is my haproxy.cfg defaults mode...

View Article

Haproxy on AKS and SSL issue

Hi Team, I have installed haproxy on AKS… this is the refernce repo kubernetes-ingress/haproxy-ingress.yaml at master · haproxytech/kubernetes-ingress · GitHub I am routing the traffic using ingress...

View Article

Custom hash based on payload

I need to be able to route to specific backend servers based on a field’s value in the HTTP JSON data payload containing the IP address of the ingress end-user (the request is coming from another...

View Article
Browsing all 4717 articles
Browse latest View live


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