Re: Question about available fetch-methods for http-request

2021-08-11 Thread Jarno Huuskonen
Hello, On 8/12/21 8:59 AM, Maya Lena Ayleen Scheu wrote: Your solution would work if I had only one static context path. The tricky thing is, that I would like to have it dynamic, so that the word between the first two “/“ always becomes the subdomain if a certain condition is true. Thats wher

Re: Question about available fetch-methods for http-request

2021-08-11 Thread Maya Lena Ayleen Scheu
Hi Igor, thank you for your reply. Your solution would work if I had only one static context path. The tricky thing is, that I would like to have it dynamic, so that the word between the first two “/“ always becomes the subdomain if a certain condition is true. Thats where I am stuck, I don’t k

Re: Question about available fetch-methods for http-request

2021-08-11 Thread Igor Cicimov
Hi Maya, Maybe try this: http-request set-header Host context_path.ms.example.com if { path_beg /context_path } { hdr(Host) -i example.com } From: Maya Lena Ayleen Scheu Sent: Wednesday, August 11, 2021 9:58 PM To: haproxy@formilux.org Subject: Question about a

OCSP stapling for intermediate certificate?

2021-08-11 Thread Thomas Bätzler
Hi, I’m trying to get OCSP stapling to work on haproxy 2.2.9 and I’m out of my depth. I’ve set up a test installation with a Let’s Encrypt certificate, concatenated key and full chain to build a bundle and generated the OCSP file using https://github.com/pierky/haproxy-ocsp-stapling-updater.git. I

Re: [WARNING] (1) : We generated two equal cookies for two different servers.

2021-08-11 Thread Willy Tarreau
On Wed, Aug 11, 2021 at 01:13:25PM +0200, Aleksandar Lazic wrote: > > > But from my point of view and for server-template and dynamic-cookie-key > > > make > > > this message no sense or am I wrong? > > > > The problem is that when using dynamic cookies, the dynamic-cookie-key, > > the server's I

Question about available fetch-methods for http-request

2021-08-11 Thread Maya Lena Ayleen Scheu
Hi there, I have some questions regarding Haproxy Configuration in Version HA-Proxy version 2.0.23, which is not clear by reading the official documentation. I hope you would have some ideas how this could be solved. What I wish to accomplish: A frontend application is called by an url with a

Re: [WARNING] (1) : We generated two equal cookies for two different servers.

2021-08-11 Thread Aleksandar Lazic
On 11.08.21 09:04, Willy Tarreau wrote: Hi Aleks, On Mon, Aug 09, 2021 at 06:40:29PM +0200, Aleksandar Lazic wrote: Hi. We use the HAProxy 2.4 image which have now HAProxy 2.4.2. https://hub.docker.com/layers/haproxy/library/haproxy/2.4/images/sha256-d5e2a5261d6367c31c8ce9b2e692fe67237bdc29f37

Re: [WARNING] (1) : We generated two equal cookies for two different servers.

2021-08-11 Thread Willy Tarreau
Hi Aleks, On Mon, Aug 09, 2021 at 06:40:29PM +0200, Aleksandar Lazic wrote: > Hi. > > We use the HAProxy 2.4 image which have now HAProxy 2.4.2. > https://hub.docker.com/layers/haproxy/library/haproxy/2.4/images/sha256-d5e2a5261d6367c31c8ce9b2e692fe67237bdc29f37f2e153d346e8b0dc7c13b?context=explo