June 2026 promo! Join our Discord free of charge.

Slick­Stack
Lightning-fast WordPress on Nginx

disable the “X-Frame-Options” header in SlickStack

  • This topic is empty.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #26056
    Albert
    Guest

    I’m using my SlickStack server as theme demo, but this header prevents iframes, can I disable it?

    or will it be always overwritten? thanks.

    #26057
    Ashley
    Guest

    @OP

    We have an option SS_LOCKDOWN in your ss-config that should prevent SlickStack from overwriting your Nginx config, however it’s still being tested and worked out.

    Probably better and more reliable to use Cloudflare for that.

    #26058
    Bobby
    Guest

    In Cloudflare go to:

    Rules >> Transform Rules >> New Rule

    The type of rule can be “Modify Response Header”

    Then choose:

    – All incoming requests
    – Then >> Modify response header >> Remove >> Header Name “X-Frame-Options”

    #26059
    Sophia
    Guest

    so cool! where do I find that feature in Cloudflare? thanks!

    #26060
    Joseph
    Guest
    #26117
    Debra
    Guest

    I never knew you could manipulate the headers on Cloudflare, I suppose it works for any HTTP header the same way? nifty

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: disable the “X-Frame-Options” header in SlickStack

Thanks to our generous sponsors for their support!