I'm using nginx
as a reverse proxy for my website.
I want to be able to open my website in an iFrame
from a chrome extension new tab html file.
For this, I need my nginx
to set X-Frame-Options
to allow all domains.
According to this answer, all domains is the default state if you don't set X-Frame-Options.
My /etc/nginx/nginx.conf
doesn't have the X-Frame-Options set anywhere.
Yet when I check my website response header using Postman, it shows me X-Frame-Options = SAMEORIGIN
.
How can I remove this setting and load my website in an iFrame in the chrome new-tab .html file?