How to avoid "Content Security Policy: The page's settings blocked the loading of a resource at self..."
Created by: kwoxer
I run owncloud on subdomain of Nginx.
So it is https://oc.MYSERVER.eu
Steps to reproduce
- Run oc on subdomain
- Check Browser error log
- Now you see "Content Security Policy: The page's settings blocked the loading of a resource at self"
Expected behaviour No CSP warning
Actual behaviour CSP warning
Server configuration Operating system: ubuntu Web server: nginx Database: mysql PHP version: 7 ownCloud version: 9.0.2
http://i.imgur.com/0pSM6pg.png More info: https://forum.owncloud.org/viewtopic.php?f=38&t=37596&p=119478