Final Solution to enable in-frame Monit GUI

Discussion in 'Developers' Forum' started by concept21, Aug 8, 2021.

  1. concept21

    concept21 Active Member HowtoForge Supporter

    Assuming that ISPConfig v3.2.5 is installed on ispconfig.domain.tld, add these additional lines in file
    <IfModule mod_headers.c>
    # Enable Monit GUI
    Header always append X-Frame-Options SAMEORIGIN
    Header set Content-Security-Policy "frame-ancestors 'self' domain.tld"
    # Enable Monit GUI
    systemctl reload apache2.service. Done.

    Now, even newbie can enjoy in-frame Monit GUI. :D

Share This Page