{"action":"created","issue":{"url":"https://api.github.com/repos/jupyter-incubator/dashboards_server/issues/307","repository_url":"https://api.github.com/repos/jupyter-incubator/dashboards_server","labels_url":"https://api.github.com/repos/jupyter-incubator/dashboards_server/issues/307/labels{/name}","comments_url":"https://api.github.com/repos/jupyter-incubator/dashboards_server/issues/307/comments","events_url":"https://api.github.com/repos/jupyter-incubator/dashboards_server/issues/307/events","html_url":"https://github.com/jupyter-incubator/dashboards_server/issues/307","id":191952354,"number":307,"title":"Help needed to configure reversed proxy","user":{"login":"bowenli37","id":2127513,"avatar_url":"https://avatars.githubusercontent.com/u/2127513?v=3","gravatar_id":"","url":"https://api.github.com/users/bowenli37","html_url":"https://github.com/bowenli37","followers_url":"https://api.github.com/users/bowenli37/followers","following_url":"https://api.github.com/users/bowenli37/following{/other_user}","gists_url":"https://api.github.com/users/bowenli37/gists{/gist_id}","starred_url":"https://api.github.com/users/bowenli37/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bowenli37/subscriptions","organizations_url":"https://api.github.com/users/bowenli37/orgs","repos_url":"https://api.github.com/users/bowenli37/repos","events_url":"https://api.github.com/users/bowenli37/events{/privacy}","received_events_url":"https://api.github.com/users/bowenli37/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-28T09:10:06Z","updated_at":"2016-11-28T17:47:05Z","closed_at":null,"body":"Ref #292 \r\n\r\nI have read the section in documentation on setting up reversed proxy but was not able to get it working correctly. Just tried to run proxy-container by \"make proxy-container\". Containers started normally. Visited http://localhost but received 404 error message. I noted that nginx container port 8080 is mapped to host port 80 in Makefile, but nginx is listening on port 80 as in conf file. After changing port 8080 to 80 and rebuilding all 3 container, http://localhost/dashboards_server/ can be reached, but styling was not applied due to missing http://localhost/css/style.css (Failed to load resource).\r\nI was on the latest commit (# 5cac00) by today. What was I missing? Please help! Thanks very much."},"comment":{"url":"https://api.github.com/repos/jupyter-incubator/dashboards_server/issues/comments/263341087","html_url":"https://github.com/jupyter-incubator/dashboards_server/issues/307#issuecomment-263341087","issue_url":"https://api.github.com/repos/jupyter-incubator/dashboards_server/issues/307","id":263341087,"user":{"login":"jhpedemonte","id":711365,"avatar_url":"https://avatars.githubusercontent.com/u/711365?v=3","gravatar_id":"","url":"https://api.github.com/users/jhpedemonte","html_url":"https://github.com/jhpedemonte","followers_url":"https://api.github.com/users/jhpedemonte/followers","following_url":"https://api.github.com/users/jhpedemonte/following{/other_user}","gists_url":"https://api.github.com/users/jhpedemonte/gists{/gist_id}","starred_url":"https://api.github.com/users/jhpedemonte/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhpedemonte/subscriptions","organizations_url":"https://api.github.com/users/jhpedemonte/orgs","repos_url":"https://api.github.com/users/jhpedemonte/repos","events_url":"https://api.github.com/users/jhpedemonte/events{/privacy}","received_events_url":"https://api.github.com/users/jhpedemonte/received_events","type":"User","site_admin":false},"created_at":"2016-11-28T17:47:05Z","updated_at":"2016-11-28T17:47:05Z","body":"You're reading the port mapping incorrectly.  The host port 8080 is mapped to the nginx container's 80 port. Therefore, you have to load from http://localhost:8080. This will show you the default nginx page.\r\n\r\nThen, if you load http://localhost:8080/dashboards_server/, you will in fact get an unstyled page. Please review the [proxy section of the README.md](https://github.com/jupyter-incubator/dashboards_server#run-behind-proxy): you have to set a couple of options in `config.json` in order to use the dashboards server behind a proxy.\r\n\r\nFor use with `make proxy-container`, I set the following options:\r\n\r\n    BASE_URL: \"[/dashboards_server]\"\r\n    TRUST_PROXY: true"}}
{"actor":{"display_login":"jhpedemonte"}}