Our Monitoring Application needs one extra HTTP header in every response and we would like explore the options without making code change in every proxy. Is it possible to add this header using Router NGINX configuration ? or is there any solution from MP or any other components.
Requirement is to add the Header in response
Access-Control-Expose-Headers: ADRUM_0,ADRUM_1,ADRUM_.......
Answer by Dino-at-Google
·
Jun 13, 2018 at 04:21 PM
You can do that in a FlowHook.
This is environment-wide, not organization wide.
It does not require changes for each proxy in the environment.
Check the docs for more details. And a screencast.
Thanks Dino, I am looking at a solution without changing the proxies. We have more than 300 proxies and adding as SharedFlow or using common Policies is time consuming and cost involved. I am looking for another options from Router or MP settings.
You do not have to change proxies to use a Flow Hook. Your flow hook is "hooked" to the environment and all proxies operating in that environment automatically get the behavior you need.
Thanks Dino and Rahul. It worked perfectly.