{"action":"created","issue":{"url":"https://api.github.com/repos/jupyter/notebook/issues/886","labels_url":"https://api.github.com/repos/jupyter/notebook/issues/886/labels{/name}","comments_url":"https://api.github.com/repos/jupyter/notebook/issues/886/comments","events_url":"https://api.github.com/repos/jupyter/notebook/issues/886/events","html_url":"https://github.com/jupyter/notebook/issues/886","id":123211270,"number":886,"title":"Can't use Notebook inside an iframe","user":{"login":"satendrakumar06","id":4868292,"avatar_url":"https://avatars.githubusercontent.com/u/4868292?v=3","gravatar_id":"","url":"https://api.github.com/users/satendrakumar06","html_url":"https://github.com/satendrakumar06","followers_url":"https://api.github.com/users/satendrakumar06/followers","following_url":"https://api.github.com/users/satendrakumar06/following{/other_user}","gists_url":"https://api.github.com/users/satendrakumar06/gists{/gist_id}","starred_url":"https://api.github.com/users/satendrakumar06/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/satendrakumar06/subscriptions","organizations_url":"https://api.github.com/users/satendrakumar06/orgs","repos_url":"https://api.github.com/users/satendrakumar06/repos","events_url":"https://api.github.com/users/satendrakumar06/events{/privacy}","received_events_url":"https://api.github.com/users/satendrakumar06/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jupyter/notebook/labels/needs-info","name":"needs-info","color":"ffffff"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-12-21T05:01:16Z","updated_at":"2015-12-21T12:12:58Z","closed_at":null,"body":"Hello @qmaxquique\r\n\r\nI am also facing same problem([issues#284](https://github.com/jupyter/notebook/issues/284)) with iframe. I have tried as you have mentioned \"c.NotebookApp.tornado_settings\". It didn't work.\r\nI have tried both way:\r\n\r\n```\r\nwithout SSL getting error\r\n\r\n[W 16:43:55.857 NotebookApp] Content security violation: {\"csp-report\":{\r\n    \"blocked-uri\":\"\",\r\n    \"document-uri\":\"http://192.168.2.115:9999/tree\",\r\n    \"original-policy\":\"frame-ancestors http://192.168.2.115:9999; report-uri http://192.168.2.115:9999/api/security/csp-report\",\r\n    \"referrer\":\"http://192.168.2.115:9191/\",\r\n    \"violated-directive\":\"frame-ancestors http://192.168.2.115:9999\"\r\n}}\r\n```\r\n```\r\nusing SSL getting error:\r\n[W 16:42:20.882 NotebookApp] Content security violation: {\"csp-report\":{\r\n    \"blocked-uri\":\"\",\r\n    \"document-uri\":\"https://192.168.2.115:9999/tree\",\r\n    \"original-policy\":\"frame-ancestors https://192.168.2.115:9999; report-uri https://192.168.2.115:9999/api/security/csp-report\",\r\n    \"referrer\":\"http://192.168.2.115:9191/\",\r\n    \"violated-directive\":\"frame-ancestors https://192.168.2.115:9999\"}}\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/jupyter/notebook/issues/comments/166289016","html_url":"https://github.com/jupyter/notebook/issues/886#issuecomment-166289016","issue_url":"https://api.github.com/repos/jupyter/notebook/issues/886","id":166289016,"user":{"login":"satendrakumar06","id":4868292,"avatar_url":"https://avatars.githubusercontent.com/u/4868292?v=3","gravatar_id":"","url":"https://api.github.com/users/satendrakumar06","html_url":"https://github.com/satendrakumar06","followers_url":"https://api.github.com/users/satendrakumar06/followers","following_url":"https://api.github.com/users/satendrakumar06/following{/other_user}","gists_url":"https://api.github.com/users/satendrakumar06/gists{/gist_id}","starred_url":"https://api.github.com/users/satendrakumar06/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/satendrakumar06/subscriptions","organizations_url":"https://api.github.com/users/satendrakumar06/orgs","repos_url":"https://api.github.com/users/satendrakumar06/repos","events_url":"https://api.github.com/users/satendrakumar06/events{/privacy}","received_events_url":"https://api.github.com/users/satendrakumar06/received_events","type":"User","site_admin":false},"created_at":"2015-12-21T12:12:58Z","updated_at":"2015-12-21T12:12:58Z","body":"yes, suppose my website URL is ec2-xx-xx-xxx-xx.compute-1.amazonaws.com and port is 9999.\r\nSo what would be configuration setting ?  "}}