{"action":"created","issue":{"url":"https://api.github.com/repos/jupyterhub/jupyterhub/issues/367","repository_url":"https://api.github.com/repos/jupyterhub/jupyterhub","labels_url":"https://api.github.com/repos/jupyterhub/jupyterhub/issues/367/labels{/name}","comments_url":"https://api.github.com/repos/jupyterhub/jupyterhub/issues/367/comments","events_url":"https://api.github.com/repos/jupyterhub/jupyterhub/issues/367/events","html_url":"https://github.com/jupyterhub/jupyterhub/issues/367","id":125069494,"number":367,"title":"Unable to get Jupyter working with Apache Reverse Proxy for my Domain","user":{"login":"chandragaajula","id":2474552,"avatar_url":"https://avatars.githubusercontent.com/u/2474552?v=3","gravatar_id":"","url":"https://api.github.com/users/chandragaajula","html_url":"https://github.com/chandragaajula","followers_url":"https://api.github.com/users/chandragaajula/followers","following_url":"https://api.github.com/users/chandragaajula/following{/other_user}","gists_url":"https://api.github.com/users/chandragaajula/gists{/gist_id}","starred_url":"https://api.github.com/users/chandragaajula/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chandragaajula/subscriptions","organizations_url":"https://api.github.com/users/chandragaajula/orgs","repos_url":"https://api.github.com/users/chandragaajula/repos","events_url":"https://api.github.com/users/chandragaajula/events{/privacy}","received_events_url":"https://api.github.com/users/chandragaajula/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2016-01-05T22:49:06Z","updated_at":"2016-07-08T07:07:15Z","closed_at":"2016-02-13T16:31:35Z","body":"I have the following entry in \"/etc/apache2/sites-enabled\" on my Ubuntu 15.10\r\n\r\n    <VirtualHost *:80>\r\n            ServerName \"jupyter.xxxxxxxxxxxx.com\"\r\n            ProxyPass / http://192.168.254.23:8888/\r\n            ProxyPassReverse / http://192.168.254.23:8888/\r\n            Header edit Origin \"jupyter.xxxxxxxxxxxx.com\" 192.168.254.23:8888\r\n            RequestHeader edit Origin \"jupyter.xxxxxxxxxxxx.com\" 192.168.254.23:8888\r\n    \r\n            Header edit Referer \"jupyter.xxxxxxxxxxxx.com\" 192.168.254.23:8888\r\n            RequestHeader edit Referer \"jupyter.xxxxxxxxxxxx.com\" 192.168.254.23:8888\r\n            <Location ~ \"/(user/[^/]*)/(api/kernels/[^/]+/channels|terminals/websocket)/?\">\r\n                    ProxyPass ws://192.168.254.23:8888\r\n                    ProxyPassReverse ws://192.168.254.23:8888\r\n            </Location>\r\n    </VirtualHost>\r\n\r\nAfter making the above entry I restarted apache: \"sudo service apache2 restart\"\r\n\r\nWhen I attempt to run my script the Kernel is unable to connect.\r\n![jupyterreverseproxy](https://cloud.githubusercontent.com/assets/2474552/12107469/7261f1a2-b320-11e5-9d7e-fd630e60c1b2.png)\r\n\r\nConsole Logs:\r\n![jupyterlogs](https://cloud.githubusercontent.com/assets/2474552/12129784/c1f2ef88-b3ba-11e5-955d-3dee1e5f66f3.JPG)\r\n\r\nThe same works when I specify the IP Address though:\r\n![jupyterwithipaddressandport](https://cloud.githubusercontent.com/assets/2474552/12107534/35c6a886-b321-11e5-84bf-8adf9287ff77.png)\r\n\r\nHow do I get this to work with the domain name? "},"comment":{"url":"https://api.github.com/repos/jupyterhub/jupyterhub/issues/comments/231290613","html_url":"https://github.com/jupyterhub/jupyterhub/issues/367#issuecomment-231290613","issue_url":"https://api.github.com/repos/jupyterhub/jupyterhub/issues/367","id":231290613,"user":{"login":"jorditg","id":6575991,"avatar_url":"https://avatars.githubusercontent.com/u/6575991?v=3","gravatar_id":"","url":"https://api.github.com/users/jorditg","html_url":"https://github.com/jorditg","followers_url":"https://api.github.com/users/jorditg/followers","following_url":"https://api.github.com/users/jorditg/following{/other_user}","gists_url":"https://api.github.com/users/jorditg/gists{/gist_id}","starred_url":"https://api.github.com/users/jorditg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jorditg/subscriptions","organizations_url":"https://api.github.com/users/jorditg/orgs","repos_url":"https://api.github.com/users/jorditg/repos","events_url":"https://api.github.com/users/jorditg/events{/privacy}","received_events_url":"https://api.github.com/users/jorditg/received_events","type":"User","site_admin":false},"created_at":"2016-07-08T07:07:15Z","updated_at":"2016-07-08T07:07:15Z","body":"@quanghoc did you solved the problem? I'm stuck in the same. Not able to get it working with reverse proxy over localhost."}}
{"actor":{"display_login":"jorditg"}}