The X-Frame-Options response header may appear twice in some cases.
The X-Frame-Options response header may appear twice because the vIDM service adds this header to the back end as well as to HAProxy. You can prevent it appearing twice with an appropriate configuration.
- Open /etc/haproxy/conf.d/20-vcac.cfg for editing.
- Locate the following line in the front end section:
rspadd X-Frame-Options:\ SAMEORIGIN
- Add the following lines before the line you located in the preceding step:
rspdel X-Frame-Options:\ SAMEORIGIN
- Reload the HAProxy configuration using the following command.