Allow OMV to run in an iFrame?

  • I can't seem to find the code that blocks the option to run OpenMediaVault in an iFrame.


    At the moment I'm using Muximux/manage-this-node, so I have an overview of the different web services my NAS is running, but somehow OMV wont run inside the frame, as the rest of the things do.

    • Offizieller Beitrag

    It is an nginx setting. Look at this code

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • It is an nginx setting. Look at this <a href="https://github.com/OpenMediaVault-Plugin-Developers/openmediavault-links/blob/master/usr/share/openmediavault/mkconf/links#L167" class="externalURL" rel="nofollow" target="_blank">code</a>


    Ah I see :) But isn't this only for when building omv?


    Doesn't configs in this folder:
    /etc/nginx/conf.d/
    get loaded by nginx?

    • Offizieller Beitrag

    That code disables the disables csp and xframe options. They are just features of nginx. Doesn't have anything to do with building OMV.


    The conf.d folder is for global configs. OMV doesn't use it by default.

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!