{"action":"created","issue":{"url":"https://api.github.com/repos/sameersbn/docker-gitlab/issues/266","labels_url":"https://api.github.com/repos/sameersbn/docker-gitlab/issues/266/labels{/name}","comments_url":"https://api.github.com/repos/sameersbn/docker-gitlab/issues/266/comments","events_url":"https://api.github.com/repos/sameersbn/docker-gitlab/issues/266/events","html_url":"https://github.com/sameersbn/docker-gitlab/issues/266","id":59222720,"number":266,"title":"[nginx] Route uploads through GitLab to prevent XSS and enforce access control","user":{"login":"Jack12816","id":2496275,"avatar_url":"https://avatars.githubusercontent.com/u/2496275?v=3","gravatar_id":"","url":"https://api.github.com/users/Jack12816","html_url":"https://github.com/Jack12816","followers_url":"https://api.github.com/users/Jack12816/followers","following_url":"https://api.github.com/users/Jack12816/following{/other_user}","gists_url":"https://api.github.com/users/Jack12816/gists{/gist_id}","starred_url":"https://api.github.com/users/Jack12816/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jack12816/subscriptions","organizations_url":"https://api.github.com/users/Jack12816/orgs","repos_url":"https://api.github.com/users/Jack12816/repos","events_url":"https://api.github.com/users/Jack12816/events{/privacy}","received_events_url":"https://api.github.com/users/Jack12816/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-27T11:12:21Z","updated_at":"2015-02-27T12:36:51Z","closed_at":"2015-02-27T12:35:18Z","body":"The latest Gitlab version changed the nginx configuration to route all `/uploads/` request through the Gitlab application. We should do this also.\r\n\r\n```\r\nFor installations from source, you will have to update your NGINX configuration.\r\nWe've added a route change for /uploads/. See the new config for /uploads/ here\r\nfor http and here for https.\r\n```\r\n\r\nBlog Post: https://about.gitlab.com/2015/02/22/gitlab-7-8-released/\r\n\r\nSee: https://gitlab.com/gitlab-org/gitlab-ce/blob/8ae3112b3f303c897c70952dd162589b1c394221/lib/support/nginx/gitlab#L59"},"comment":{"url":"https://api.github.com/repos/sameersbn/docker-gitlab/issues/comments/76388269","html_url":"https://github.com/sameersbn/docker-gitlab/issues/266#issuecomment-76388269","issue_url":"https://api.github.com/repos/sameersbn/docker-gitlab/issues/266","id":76388269,"user":{"login":"sameersbn","id":410147,"avatar_url":"https://avatars.githubusercontent.com/u/410147?v=3","gravatar_id":"","url":"https://api.github.com/users/sameersbn","html_url":"https://github.com/sameersbn","followers_url":"https://api.github.com/users/sameersbn/followers","following_url":"https://api.github.com/users/sameersbn/following{/other_user}","gists_url":"https://api.github.com/users/sameersbn/gists{/gist_id}","starred_url":"https://api.github.com/users/sameersbn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sameersbn/subscriptions","organizations_url":"https://api.github.com/users/sameersbn/orgs","repos_url":"https://api.github.com/users/sameersbn/repos","events_url":"https://api.github.com/users/sameersbn/events{/privacy}","received_events_url":"https://api.github.com/users/sameersbn/received_events","type":"User","site_admin":false},"created_at":"2015-02-27T12:36:51Z","updated_at":"2015-02-27T12:36:51Z","body":"@Jack12816 my visual diff program seems to have failed me. To be fair it did tell me that it could not parse the diff properly."}}