@harishchouhan if you’ve used Ghost-CLI to set up nginx then the solution you’ve linked to is the correct one
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.
I am getting a ‘[domain] refused to connect’ error when I try to iFrame my Ghost website into another website I have.
I’ll confess I’m new to using Digital Ocean and Ghost. Could anyone direct me as to how specifically to change “X-Frame-Options” to SAMEORIGIN?
I assume I change this setting on Digital Ocean, but once I open the console, I’m at a loss as to what I’m supposed to type to 1) check the current configuration and 2) if it turns out the be wrong, change it.