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

Popular posts from this blog

google api - Incomplete response from Gmail API threads.list -

Installing Android SQLite Asset Helper -

Qt Creator - Searching files with Locator including folder -