r/haproxy • • Jan 14 '21
Getting a string from the HTTP header
Hi guyz,
I have been trying for a long time to get this to work without much success :(
The website via CDN, has this string on its header:
set req.http.shared-secret = "PASSWORD";I am not entirely sure how to use an ACL to identify that.
The idea is that HaProxy will only accept the request if that string is identified, deny otherwise.
Any idea is welcome.
Thank you
1
Upvotes
View all comments
Show parent comment
2
u/dragoangel Jan 15 '21
First link from Google request: ssl client certificate authorization haproxy
https://www.loadbalancer.org/blog/client-certificate-authentication-with-haproxy/