{"action":"created","issue":{"url":"https://api.github.com/repos/prometheus/prometheus/issues/519","labels_url":"https://api.github.com/repos/prometheus/prometheus/issues/519/labels{/name}","comments_url":"https://api.github.com/repos/prometheus/prometheus/issues/519/comments","events_url":"https://api.github.com/repos/prometheus/prometheus/issues/519/events","html_url":"https://github.com/prometheus/prometheus/issues/519","id":57070224,"number":519,"title":"Add flag/config option to set root directory for UI","user":{"login":"yorik","id":96342,"avatar_url":"https://avatars.githubusercontent.com/u/96342?v=3","gravatar_id":"","url":"https://api.github.com/users/yorik","html_url":"https://github.com/yorik","followers_url":"https://api.github.com/users/yorik/followers","following_url":"https://api.github.com/users/yorik/following{/other_user}","gists_url":"https://api.github.com/users/yorik/gists{/gist_id}","starred_url":"https://api.github.com/users/yorik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yorik/subscriptions","organizations_url":"https://api.github.com/users/yorik/orgs","repos_url":"https://api.github.com/users/yorik/repos","events_url":"https://api.github.com/users/yorik/events{/privacy}","received_events_url":"https://api.github.com/users/yorik/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-02-09T18:31:10Z","updated_at":"2015-02-11T12:39:24Z","closed_at":null,"body":"Right now it's impossible to hide prometheus under nginx in some directory because all the links and JS are referenced to /... It would be very good if it would be possible to add some common directory via config or flag so it would be accessible via `http://<host>/<dir>/`"},"comment":{"url":"https://api.github.com/repos/prometheus/prometheus/issues/comments/73874749","html_url":"https://github.com/prometheus/prometheus/issues/519#issuecomment-73874749","issue_url":"https://api.github.com/repos/prometheus/prometheus/issues/519","id":73874749,"user":{"login":"yorik","id":96342,"avatar_url":"https://avatars.githubusercontent.com/u/96342?v=3","gravatar_id":"","url":"https://api.github.com/users/yorik","html_url":"https://github.com/yorik","followers_url":"https://api.github.com/users/yorik/followers","following_url":"https://api.github.com/users/yorik/following{/other_user}","gists_url":"https://api.github.com/users/yorik/gists{/gist_id}","starred_url":"https://api.github.com/users/yorik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yorik/subscriptions","organizations_url":"https://api.github.com/users/yorik/orgs","repos_url":"https://api.github.com/users/yorik/repos","events_url":"https://api.github.com/users/yorik/events{/privacy}","received_events_url":"https://api.github.com/users/yorik/received_events","type":"User","site_admin":false},"created_at":"2015-02-11T12:39:24Z","updated_at":"2015-02-11T12:39:24Z","body":"Any way would work for me, but probably adding /mycustomroot will be easier\nto implement.\nThank you!\n\nOn 11 February 2015 at 13:07, juliusv <notifications@github.com> wrote:\n\n> @yorik <https://github.com/yorik> Would your suggestion simply require\n> making paths relative in the frontend (in links, AJAX calls, etc.), or\n> would you actually require the Prometheus server to respond on\n> /mycustomroot/api/query_range, etc.?\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/prometheus/prometheus/issues/519#issuecomment-73871330>\n> .\n>\n\n\n\n-- \nWith best regards,\nYury Akudovich\n"}}