MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    MagicMirror in an iframe

    Scheduled Pinned Locked Moved Solved Troubleshooting
    2 Posts 1 Posters 956 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J Offline
      jimbroze
      last edited by

      I’m trying to display my MagicMirror display in an iframe on my web server to integrate it with my other web services and be able to switch between them easily. All of the web services are accessed through SSL reverse proxies and the proxied address is then referenced in an iframe. This works for every service except magic mirror which just shows a blank white page.

      Is there any reason that it would not display correctly and anything I can do to get around this? I can access the MagicMirror fine through the reverse proxy, just not when it’s displayed in an iframe.

      1 Reply Last reply Reply Quote 0
      • J Offline
        jimbroze
        last edited by

        For anyone that encounters a similar issue, the “X-Frame-Options” header needed to be hidden:

        proxy_hide_header X-Frame-Options;

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        • First post
          Last post
        Enjoying MagicMirror? Please consider a donation!
        MagicMirror created by Michael Teeuw.
        Forum managed by Sam, technical setup by Karsten.
        This forum is using NodeBB as its core | Contributors
        Contact | Privacy Policy