{"action":"created","issue":{"url":"https://api.github.com/repos/Mashape/kong/issues/1873","repository_url":"https://api.github.com/repos/Mashape/kong","labels_url":"https://api.github.com/repos/Mashape/kong/issues/1873/labels{/name}","comments_url":"https://api.github.com/repos/Mashape/kong/issues/1873/comments","events_url":"https://api.github.com/repos/Mashape/kong/issues/1873/events","html_url":"https://github.com/Mashape/kong/issues/1873","id":193369652,"number":1873,"title":"how do I specify multiple api hosts for the same API?","user":{"login":"peacemakr","id":24189637,"avatar_url":"https://avatars.githubusercontent.com/u/24189637?v=3","gravatar_id":"","url":"https://api.github.com/users/peacemakr","html_url":"https://github.com/peacemakr","followers_url":"https://api.github.com/users/peacemakr/followers","following_url":"https://api.github.com/users/peacemakr/following{/other_user}","gists_url":"https://api.github.com/users/peacemakr/gists{/gist_id}","starred_url":"https://api.github.com/users/peacemakr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peacemakr/subscriptions","organizations_url":"https://api.github.com/users/peacemakr/orgs","repos_url":"https://api.github.com/users/peacemakr/repos","events_url":"https://api.github.com/users/peacemakr/events{/privacy}","received_events_url":"https://api.github.com/users/peacemakr/received_events","type":"User","site_admin":false},"labels":[{"id":148836427,"url":"https://api.github.com/repos/Mashape/kong/labels/question","name":"question","color":"cc317c","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-12-04T19:29:02Z","updated_at":"2016-12-04T23:23:22Z","closed_at":null,"body":"here is the scenario:\r\nI have multiple nodejs instances serving the same API. Its a traditional Express JS app/website with cookie based sessions and routes/endpoints defined. The instances are behind HAproxy.\r\n\r\nNow, I want to be able to introduce Kong in the mix, so third party consumers could access the backend API (exposed by nodejs instances) thru OAuth 2.0.\r\n\r\nWhere in the stack should Kong be introduced? How do I add multiple nodejs instances( host+port) to the same API instance included in Kong?"},"comment":{"url":"https://api.github.com/repos/Mashape/kong/issues/comments/264740204","html_url":"https://github.com/Mashape/kong/issues/1873#issuecomment-264740204","issue_url":"https://api.github.com/repos/Mashape/kong/issues/1873","id":264740204,"user":{"login":"peacemakr","id":24189637,"avatar_url":"https://avatars.githubusercontent.com/u/24189637?v=3","gravatar_id":"","url":"https://api.github.com/users/peacemakr","html_url":"https://github.com/peacemakr","followers_url":"https://api.github.com/users/peacemakr/followers","following_url":"https://api.github.com/users/peacemakr/following{/other_user}","gists_url":"https://api.github.com/users/peacemakr/gists{/gist_id}","starred_url":"https://api.github.com/users/peacemakr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peacemakr/subscriptions","organizations_url":"https://api.github.com/users/peacemakr/orgs","repos_url":"https://api.github.com/users/peacemakr/repos","events_url":"https://api.github.com/users/peacemakr/events{/privacy}","received_events_url":"https://api.github.com/users/peacemakr/received_events","type":"User","site_admin":false},"created_at":"2016-12-04T23:23:22Z","updated_at":"2016-12-04T23:23:22Z","body":"i think, you're right.\r\n\r\nBut, what  are people doing right now? API instances behind HAproxy etc or multiple Kong instances (1 per API instance) behind HAProxy or something else?\r\n\r\nThat'd add another layer to the stack though."}}
{"actor":{"display_login":"peacemakr"}}