{"action":"created","issue":{"url":"https://api.github.com/repos/Wikia/api-gateway/issues/12","labels_url":"https://api.github.com/repos/Wikia/api-gateway/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/Wikia/api-gateway/issues/12/comments","events_url":"https://api.github.com/repos/Wikia/api-gateway/issues/12/events","html_url":"https://github.com/Wikia/api-gateway/pull/12","id":72233591,"number":12,"title":"Separate ports for helios and services in the api-gateway","user":{"login":"drsnyder","id":21621,"avatar_url":"https://avatars.githubusercontent.com/u/21621?v=3","gravatar_id":"","url":"https://api.github.com/users/drsnyder","html_url":"https://github.com/drsnyder","followers_url":"https://api.github.com/users/drsnyder/followers","following_url":"https://api.github.com/users/drsnyder/following{/other_user}","gists_url":"https://api.github.com/users/drsnyder/gists{/gist_id}","starred_url":"https://api.github.com/users/drsnyder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drsnyder/subscriptions","organizations_url":"https://api.github.com/users/drsnyder/orgs","repos_url":"https://api.github.com/users/drsnyder/repos","events_url":"https://api.github.com/users/drsnyder/events{/privacy}","received_events_url":"https://api.github.com/users/drsnyder/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-04-30T17:55:19Z","updated_at":"2015-05-04T14:19:18Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Wikia/api-gateway/pulls/12","html_url":"https://github.com/Wikia/api-gateway/pull/12","diff_url":"https://github.com/Wikia/api-gateway/pull/12.diff","patch_url":"https://github.com/Wikia/api-gateway/pull/12.patch"},"body":"Based on @pchojnacki suggestion, I separated the services and helios `server` blocks onto separate ports. This has the following effects:\r\n\r\n * Removes the need for regex replacement of `/service` in the VCL\r\n * Removes the need to pass the URI to the sub request within nginx when proxying to services.\r\n * Simplifies the pass through auth handling\r\n * Fixes the passing of query parameters (nginx was stripping them under the previous config)\r\n * Moves helios to port 8200\r\n\r\nThis should be 100% backwards compatible with the existing configuration.\r\n\r\n/cc @pchojnacki @frankfarmer "},"comment":{"url":"https://api.github.com/repos/Wikia/api-gateway/issues/comments/98724958","html_url":"https://github.com/Wikia/api-gateway/pull/12#issuecomment-98724958","issue_url":"https://api.github.com/repos/Wikia/api-gateway/issues/12","id":98724958,"user":{"login":"pchojnacki","id":812891,"avatar_url":"https://avatars.githubusercontent.com/u/812891?v=3","gravatar_id":"","url":"https://api.github.com/users/pchojnacki","html_url":"https://github.com/pchojnacki","followers_url":"https://api.github.com/users/pchojnacki/followers","following_url":"https://api.github.com/users/pchojnacki/following{/other_user}","gists_url":"https://api.github.com/users/pchojnacki/gists{/gist_id}","starred_url":"https://api.github.com/users/pchojnacki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pchojnacki/subscriptions","organizations_url":"https://api.github.com/users/pchojnacki/orgs","repos_url":"https://api.github.com/users/pchojnacki/repos","events_url":"https://api.github.com/users/pchojnacki/events{/privacy}","received_events_url":"https://api.github.com/users/pchojnacki/received_events","type":"User","site_admin":false},"created_at":"2015-05-04T14:19:18Z","updated_at":"2015-05-04T14:19:18Z","body":"LGTM\r\nBTW I was also thinking about the virtual hosts instead of different ports, but it is a liittle bit easier to work with if you don't have to set -H \"Host: somehost\" whenever you are testing something."}}