2,593 questions
0
votes
1
answer
32
views
Keycloak on subpath behind reverse proxy
After something else fundamentally broke, we updated from keycloak 11 (yes, I know) to Keycloak 26. However, we can’t seem to get the proxy config right. We’re using X-Forwarded-For-Headers everywhere,...
0
votes
1
answer
74
views
Is it possible to route traffic through another server with HAProxy?
I have a specific problem where I have a host that cannot be connected to from outside IPs (let's call it server 1), but can initiate connections with other servers. However, I need to make a TCP ...
0
votes
0
answers
47
views
Can Hap Proxy proxy h3 connection to an h3 server?
I can see documentations for listening for h3 connections and forwarding to http1.1 or 2. But can it forward as a http3?
I am using this config
backend my_quic_backend
mode http
...
0
votes
1
answer
252
views
Get all the details of a request in haproxy lua
Working with version 2.8
I'm trying to get some information from a request. This is just a test/local development phase. Trying to get URL, payload, params, headers etc. I see that haproxy has a ...
0
votes
0
answers
104
views
HAProxy [SPOE] how to set txn variable on request that can be used during the response
During on-frontend-http-request i set a Txn variable which can be used during on-http-response but this always cames as Nil I tried all scopes None works
Here is the log snippet
2025/05/06 15:48:05 ...
1
vote
0
answers
58
views
How to output nested json objects in log-format using the %{+json}o flag
I am trying to output some nested json in my custom log format. My current log-format is (pretty printed):
{
"type":"http",
"datetime_gmt":"%T",
"...
0
votes
0
answers
76
views
HAProxy SPOE processing http2 messages Configuration
My opentrb servers listen on http/2 and receive protobuf messages, and for that, I have configured HAProxy SPOE for analytics purposes for requests/responses.
The problem is that when Agent receives ...
0
votes
0
answers
56
views
Missing stick-table key on TCP session info - HAProxy 3.1.6
I'm working with HAProxy 3.1.6 and this is the question:
is there any way to link TCP sessions with the key used from the sticky-table?
If I do this:
echo "show table back.82e4240d-d3f3-407f-88f5-...
0
votes
0
answers
42
views
Apache URL rewrite that correctly maps HTML links to sub URL
I have a website with this simple configuration:
<Directory /websites/>
Options -Indexes -FollowSymLinks +Includes
AllowOverride All
Order deny,allow
Require all granted
</...
0
votes
0
answers
59
views
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 ...
2
votes
1
answer
133
views
Websockets failing to work from HAProxy to Nginx/Passenger to Rails
I'm modifying our web app to be able to ingest (and pass along) real time events from Kafka. Since this is a Rails app, I'm using the built-in Action Cable. The frontend is React and is using @rails/...
1
vote
0
answers
83
views
`ping` Fails Inside HAProxy Docker Container
# Dockerfile
FROM haproxy:2.6-bullseye
USER root
RUN apt update && apt install -y iputils-ping iptables
COPY test.cfg /usr/local/etc/haproxy/haproxy.cfg
ENTRYPOINT ["ping", "8.8....
0
votes
0
answers
38
views
High available but lost transactions. Keepalived closes the connection unexpectedly when switching master and slave
Describing
Cluster of two VM was deployed for HA based on ton of coolguides of pro guys.
e.g. : https://grimoire.carcano.ch/blog/high-available-ha-proxy-tutorial-with-keepalived/
Pipeline
HAproxy + ...
-1
votes
1
answer
106
views
How to configure kubernetes' haproxy-ingres for host or path?
With this setup I was able to get 'global' settings for haproxy ingress controller. Can I modify this settings to change configuration on a host or path level?
apiVersion: networking.k8s.io/v1
kind: ...
0
votes
0
answers
65
views
Haproxy unable to reach backed server
Im trying to use a server address for sending some data, this is my haprox_cfg file,
either I'm getting a layer6 timeout failure or 503 error
frontend haproxy-health
bind *:8080
...