i had this sort of problem in apache2
nano /etc/apache2/sites-enabled/default-ssl.conf
Header always set X-Frame-Options ALLOW
and it loads and if its default DENY then the app uses a frame and your site wont allow the ap to load.
Hope this works for you