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

Content-Type Header with HAPRoxy 2.1.10

Hi, We are trying to upgrade to HAProxy version 2.1.10 and we see few compatibility issues . All headers are showing as small case: what is the solution if we need to show as it is ? Content-Type is...

View Article


Image may be NSFW.
Clik here to view.

Bad gateway in Chrome and Edge when redirect http to https

Hi! I made a simple configuration to redirect any incoming http traffic to https using some certs using this simple configuration. global log 127.0.0.1 local1 defaults log global mode http option...

View Article


Image may be NSFW.
Clik here to view.

Help with getting HTTPS working through PHPIPAM/Docker using HAProxy

Hello, I’m trying something a bit funky with PHPIPAM and there’s a specific issue with HTTPS via HAProxy that I’m hoping someone might be able to give me some assistance with. I’m trying to do an eval...

View Article

Bad request on health check due to content-length header

hello everyone, I attempted to upgrade from 2.2 to 2.4 but some health checks return http status 400 “bad request”. I know that it is totally valid to send content-length: 0 for GET requests according...

View Article

HAPROXY redirect subfolder

Dear All, I have my website like https://myserver.mydomain.com when a user reach the root url, i want to be redirected to https://myserver.mydomain.com/mysite each time i suggest i can do with...

View Article


Image may be NSFW.
Clik here to view.

Build ACL from map

Hello, I’m trying to build an acl with a map file. I’m using haproxy 2.2.9. This is to allow us to deploy a map file with a tool like ansible or a cron task without having to update the haproxy...

View Article

Load balancing HTTP requests based on unique ID

I am trying to load balance traffic amongst 2 servers which have their own separate databases. Once a file is submitted for processing, the server responds back with a unique ID. Subsequently, another...

View Article

Network Byte counters do not update in tcp mode unless session disconnects

I noticed on the HAProxy stats page that when a front end is configured in tcp mode, the network byte counters do not update periodically until the session disconnects Is it possible to configure the...

View Article


HTTP2 and protection smuggling with lowercase

good evening, I’m trying to understand why the lowercase characters introduced with http2 is a security against smuggling. Someone more help? Thanks so much. Best regards Riccardo 1 post - 1...

View Article


Setting up HAproxy 2.4 with SNI and backend servers using wildcard certificates

Hey all, I’m struggling with a scenario where i have to setup haproxy 2.4 with sni where our backend IIS servers with wildcard certificates. For now, I’m able to achieve the desired result by using...

View Article

Image may be NSFW.
Clik here to view.

Generate-certificate copy all SAN's

Hi, I’m doing the following; My HAproxy is listening for HTTPS and terminates it; bind *:443 ssl crt <cert> generate-certifictes ca-sign-file <ca-sign-file> It copies the Common Name and...

View Article

DNS Discovery vs Runtime API

We use haproxy for our lb platform, we have many frontends with very dynamic backend (servers will be added/removed 10000 > times per day). We now add a server to config file and reload the process...

View Article

Save running configure to file

Hello! I need solution to save haproxy configuration after change some parameters via socket API Is there way to save running config to file? 1 post - 1 participant Read full topic

View Article


ACL using current system date or time?

Is it possible to create an ACL to query the current date inside haproxy.conf ? For example, I may want to limit access to a backend server depending on date and/or time. I can see date specific ACLs...

View Article

Haproxy: Redirect and pass sub-domain value

I have this acl in haproxy: acl host_app1 hdr(host) -m reg -i ^[^.]+.app.mydomain.com$ Now, I’d like to redirect all requests hitting this haproxy with URLs such as: ==> abc.app.mydomain.com/val1...

View Article


Haproxy 1.8 to Haproxy 2.2 Configuration error

Hello All, We’re doing a Haproxy upgrade from v1.8 to 2.2. Facing issue on below rule. reqadd X-Forwarded-Proto:\ http (This is not supporting on Haproxy22) Tested in haproxy 22 with below rule as...

View Article

Parsing a Postgres Startup Message

I am trying to parse the Postgres Startup message. According to the docs, the startup message is thus: StartupMessage (F) Int32 Length of message contents in bytes, including self. Int32(196608) The...

View Article


HTTPS frontend for exchange and other services

Hi I want to setup HAproxy with HTTPS frontend SSL offload and use SNI for different subdomains. But i have one problem. First request from web browser is forwarded to proper backend but when i reload...

View Article

Consistent hashing/routing with HAProxy?

Hello, I have a web-based game platform that relies on WebSockets. In this game, a group of users (up to 10) can be matched together in a room to play a game against each other. There can be more than...

View Article

Conditional lua-load in the haproxy.cfg file

I am trying to let haproxy access my letsencrypt ssl certs easier. I am using haproxy 1.8 ( octopi setup ) I added a lua-load command to my global config section in my haproxy.cfg file. I used:...

View Article
Browsing all 4714 articles
Browse latest View live


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