Refused to display site in an iframe, X-Frame-Options to 'SAMEORIGIN' -
getting error when try inspect element in chrome:
refused display 'http://www.samplesite.com/' in frame because set 'x-frame-options' 'sameorigin'.
how display site inside iframe in website has 'x-frame-options' 'sameorigin'?
i tried searching in google cannot find solution, asp.net only.
web server conf,
for me use nginx.conf
find add_header x-frame-options sameorigin;
, change toadd_header x-frame-options "allowall";
your web server sends header , blocks content. should change setting allow same origin.
Comments
Post a Comment