HAProxy possible to use "dynamic" header?
-
Hi,
I'm fine tuning my HAProxy settings for additional security through removing and adding headers.
One of such headers is the X-Powered-By header
I wonder if its possible to dynamically add the the domain name or URL the end-user is connecting with, I work with multiple domains so it should reflect.
E.g.:
rspadd X-Powered-By:\ dynamicSiteURLHere
Or
rspadd X-Powered-By:\ dynamicDomainNameHere
Lastly I have one header that I can't seem to get working
rspadd X-Content-Security-Policy:\ default-src: 'self';\ img-src:*;\ media-src:*;\ data:*;
not working on 'self', tried 'self' and other combinations.
Thanks in advance!
-
Nobody? :)