{"action":"created","issue":{"url":"https://api.github.com/repos/grafana/grafana/issues/5735","repository_url":"https://api.github.com/repos/grafana/grafana","labels_url":"https://api.github.com/repos/grafana/grafana/issues/5735/labels{/name}","comments_url":"https://api.github.com/repos/grafana/grafana/issues/5735/comments","events_url":"https://api.github.com/repos/grafana/grafana/issues/5735/events","html_url":"https://github.com/grafana/grafana/issues/5735","id":169537675,"number":5735,"title":"[Bug Report] TypeError: Cannot read property 'pageClass' of undefined","user":{"login":"natemurthy","id":1788878,"avatar_url":"https://avatars.githubusercontent.com/u/1788878?v=3","gravatar_id":"","url":"https://api.github.com/users/natemurthy","html_url":"https://github.com/natemurthy","followers_url":"https://api.github.com/users/natemurthy/followers","following_url":"https://api.github.com/users/natemurthy/following{/other_user}","gists_url":"https://api.github.com/users/natemurthy/gists{/gist_id}","starred_url":"https://api.github.com/users/natemurthy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/natemurthy/subscriptions","organizations_url":"https://api.github.com/users/natemurthy/orgs","repos_url":"https://api.github.com/users/natemurthy/repos","events_url":"https://api.github.com/users/natemurthy/events{/privacy}","received_events_url":"https://api.github.com/users/natemurthy/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2016-08-05T06:22:20Z","updated_at":"2016-08-18T07:47:19Z","closed_at":"2016-08-05T07:33:58Z","body":"I am running Grafana behind a proxy server (nginx). I have the following `nginx.conf`:\r\n\r\n```\r\n        location /grafana {\r\n                proxy_pass    http://domain.com:3000/login;\r\n                proxy_set_header   Host $host;\r\n        }\r\n\r\n        location /public {\r\n                proxy_pass    http://domain.com:3000/public;\r\n                proxy_set_header   Host $host;\r\n        }\r\n```\r\n\r\nI initially tried following the instructions in this[ stackoverflow article](http://serverfault.com/questions/684709/how-to-proxy-grafana-with-nginx) but my server kept responding with `404` on nearly every single resource. With the config I have above, I get as far as:\r\n\r\n![image](https://cloud.githubusercontent.com/assets/1788878/17428010/ff670bac-5a99-11e6-924e-802c40212233.png)\r\n\r\nIs there anything else I need to configure on either of these servers to get the reverse proxy working properly?"},"comment":{"url":"https://api.github.com/repos/grafana/grafana/issues/comments/240648911","html_url":"https://github.com/grafana/grafana/issues/5735#issuecomment-240648911","issue_url":"https://api.github.com/repos/grafana/grafana/issues/5735","id":240648911,"user":{"login":"torkelo","id":10999,"avatar_url":"https://avatars.githubusercontent.com/u/10999?v=3","gravatar_id":"","url":"https://api.github.com/users/torkelo","html_url":"https://github.com/torkelo","followers_url":"https://api.github.com/users/torkelo/followers","following_url":"https://api.github.com/users/torkelo/following{/other_user}","gists_url":"https://api.github.com/users/torkelo/gists{/gist_id}","starred_url":"https://api.github.com/users/torkelo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/torkelo/subscriptions","organizations_url":"https://api.github.com/users/torkelo/orgs","repos_url":"https://api.github.com/users/torkelo/repos","events_url":"https://api.github.com/users/torkelo/events{/privacy}","received_events_url":"https://api.github.com/users/torkelo/received_events","type":"User","site_admin":false},"created_at":"2016-08-18T07:47:19Z","updated_at":"2016-08-18T07:47:19Z","body":"strange, many run grafana behind nginx without issue. \r\n\r\n```\r\nlocation /grafana {\r\n                proxy_pass    http://domain.com:3000/;\r\n                proxy_set_header   Host $host;\r\n        }\r\n```\r\n\r\nDid you add the trailing slash in the above? "}}
{"actor":{"display_login":"torkelo"}}