Hi Guys,

Any ideas on this? I'm stumped.

Kind Regards,
Lucas Teligioridis

From: Lucas Teligioridis
Sent: Tuesday, 22 December 2015 9:34 AM
To: '[email protected]' <[email protected]>
Subject: HA Proxy - Environment Isolation - Header Scanning

Hi,

I have been trying to implement a configuration in 2 environments:


1.     Staging

2.     Production

I am trying to isolate issues to their own environment with 301 redirects. Here 
is the example I am referring to:


1.     Client hits staging load balancer https://www.example.com/staging

2.     Redirect occurs from  https://www.example.com/staging to 
https://www.example.com/production

3.     Since tit is client to load balancer communication here and not load 
balancer to load balancer

I want to know if there is a way to inject certain headers from the Staging HA 
Proxy that inserts a 'Staging' string and then if it is redirected to 
Production, that environment is only allowing a string that says 'Production' 
in the headers and rejects everything else.
>From what I have seen online there is a reqdeny and rspdeny function that may 
>serve this purpose? But will the load balancers strip off the headers to the 
>client anyway before hitting the production load balancer?

There was a typo in our configuration a few weeks back which caused staff to 
launch a production application when they thought it was staging and I'm 
looking to mitigate this issue somehow.
Please advise if you need more information or I am not clear enough.

Kind Regards,
Lucas Teligioridis

Reply via email to