{"action":"created","issue":{"url":"https://api.github.com/repos/zalando/zalenium/issues/474","repository_url":"https://api.github.com/repos/zalando/zalenium","labels_url":"https://api.github.com/repos/zalando/zalenium/issues/474/labels{/name}","comments_url":"https://api.github.com/repos/zalando/zalenium/issues/474/comments","events_url":"https://api.github.com/repos/zalando/zalenium/issues/474/events","html_url":"https://github.com/zalando/zalenium/pull/474","id":303513534,"number":474,"title":"Update /dashboard location in nginux","user":{"login":"peerster","id":5441497,"avatar_url":"https://avatars2.githubusercontent.com/u/5441497?v=4","gravatar_id":"","url":"https://api.github.com/users/peerster","html_url":"https://github.com/peerster","followers_url":"https://api.github.com/users/peerster/followers","following_url":"https://api.github.com/users/peerster/following{/other_user}","gists_url":"https://api.github.com/users/peerster/gists{/gist_id}","starred_url":"https://api.github.com/users/peerster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peerster/subscriptions","organizations_url":"https://api.github.com/users/peerster/orgs","repos_url":"https://api.github.com/users/peerster/repos","events_url":"https://api.github.com/users/peerster/events{/privacy}","received_events_url":"https://api.github.com/users/peerster/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-03-08T15:09:02Z","updated_at":"2018-03-08T15:19:15Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/zalando/zalenium/pulls/474","html_url":"https://github.com/zalando/zalenium/pull/474","diff_url":"https://github.com/zalando/zalenium/pull/474.diff","patch_url":"https://github.com/zalando/zalenium/pull/474.patch"},"body":"### Description\r\nChange the nginx config to partly solve #353.\r\n/dashboard will now redirect to the selenium hub page instead.\r\n/dashboard/ will show the zalenium dashboard.\r\n\r\n### Motivation and Context\r\nPeople got redirected to a 404 page when the port mapping wasn't `4444:4444`.\r\n\r\n### How Has This Been Tested?\r\n```mvn clean package -DskipTests=true -Pbuild-docker-image```\r\n```\r\n$ docker run --rm -ti --name zalenium -p 80:4444 \\\r\n  -v /var/run/docker.sock:/var/run/docker.sock \\\r\n  -v /tmp/videos:/home/seluser/videos \\\r\n--privileged zalenium:3.10.0c-SNAPSHOT start\r\n```\r\n```curl localhost/dashboard``` <-- result in selenium hub page\r\n```curl localhost/dashboard/``` <-- result in zalenium dashboard\r\n\r\n### Types of changes\r\n<!--- What types of changes does your code introduce? Put an `x` in all the boxes that apply: -->\r\n- [x] Bug fix (non-breaking change which fixes an issue)\r\n\r\n### Checklist:\r\n<!--- Go over all the following points, and put an `x` in all the boxes that apply. -->\r\n<!--- If you're unsure about any of these, don't hesitate to ask. We're here to help! -->\r\n- [x] My code follows the code style of this project.\r\n- [x] My change requires a change to the documentation.\r\n- [x] I have read the **CONTRIBUTING** document.\r\n<!--- Provide a general summary of your changes in the Title above -->"},"comment":{"url":"https://api.github.com/repos/zalando/zalenium/issues/comments/371518400","html_url":"https://github.com/zalando/zalenium/pull/474#issuecomment-371518400","issue_url":"https://api.github.com/repos/zalando/zalenium/issues/474","id":371518400,"user":{"login":"diemol","id":5992658,"avatar_url":"https://avatars1.githubusercontent.com/u/5992658?v=4","gravatar_id":"","url":"https://api.github.com/users/diemol","html_url":"https://github.com/diemol","followers_url":"https://api.github.com/users/diemol/followers","following_url":"https://api.github.com/users/diemol/following{/other_user}","gists_url":"https://api.github.com/users/diemol/gists{/gist_id}","starred_url":"https://api.github.com/users/diemol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diemol/subscriptions","organizations_url":"https://api.github.com/users/diemol/orgs","repos_url":"https://api.github.com/users/diemol/repos","events_url":"https://api.github.com/users/diemol/events{/privacy}","received_events_url":"https://api.github.com/users/diemol/received_events","type":"User","site_admin":false},"created_at":"2018-03-08T15:19:15Z","updated_at":"2018-03-08T15:19:15Z","author_association":"MEMBER","body":"👍 "}}
{"actor":{"display_login":"diemol"}}