Ghost blog does not open in iframe

A few years back I created a Ghost theme and the demo is available at

Just noticed that the “Demo” link on ThemeForest does not work as the demo site cannot be loaded in an iframe.

The Preview Link is:

I also created a JSFiddle test at

Any ideas would be helpful to figuring this out.

I think this could be a solution but need to test Overwrite X-Frame-Option on Ghost Site

@harishchouhan if you’ve used Ghost-CLI to set up nginx then the solution you’ve linked to is the correct one :slight_smile:

Ghost itself doesn’t add the X-Frame-Options header to any responses but nginx is configured to add it by default for security. It’s safe to override or re-configure as needed based on use case such as intentionally loading the site in an iframe.

1 Like