{"action":"created","issue":{"url":"https://api.github.com/repos/balderdashy/sails/issues/2856","labels_url":"https://api.github.com/repos/balderdashy/sails/issues/2856/labels{/name}","comments_url":"https://api.github.com/repos/balderdashy/sails/issues/2856/comments","events_url":"https://api.github.com/repos/balderdashy/sails/issues/2856/events","html_url":"https://github.com/balderdashy/sails/issues/2856","id":69971076,"number":2856,"title":"Is it possible to serve sails under subcategory","user":{"login":"EloB","id":476567,"avatar_url":"https://avatars.githubusercontent.com/u/476567?v=3","gravatar_id":"","url":"https://api.github.com/users/EloB","html_url":"https://github.com/EloB","followers_url":"https://api.github.com/users/EloB/followers","following_url":"https://api.github.com/users/EloB/following{/other_user}","gists_url":"https://api.github.com/users/EloB/gists{/gist_id}","starred_url":"https://api.github.com/users/EloB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EloB/subscriptions","organizations_url":"https://api.github.com/users/EloB/orgs","repos_url":"https://api.github.com/users/EloB/repos","events_url":"https://api.github.com/users/EloB/events{/privacy}","received_events_url":"https://api.github.com/users/EloB/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-21T22:46:09Z","updated_at":"2015-04-21T22:56:15Z","closed_at":null,"body":"I can't find anywhere. I have nginx in front of sails and I will proxy the request to the sails server under a subcategory. See example below. Is that possible?\r\n\r\nhttp://domain.tld/sails/socket.io -> http://localhost:1337/socket.io\r\nhttp://domain.tld/sails/model -> http://localhost:1337/model\r\nEtc."},"comment":{"url":"https://api.github.com/repos/balderdashy/sails/issues/comments/94966325","html_url":"https://github.com/balderdashy/sails/issues/2856#issuecomment-94966325","issue_url":"https://api.github.com/repos/balderdashy/sails/issues/2856","id":94966325,"user":{"login":"kevinburkeshyp","id":10735057,"avatar_url":"https://avatars.githubusercontent.com/u/10735057?v=3","gravatar_id":"","url":"https://api.github.com/users/kevinburkeshyp","html_url":"https://github.com/kevinburkeshyp","followers_url":"https://api.github.com/users/kevinburkeshyp/followers","following_url":"https://api.github.com/users/kevinburkeshyp/following{/other_user}","gists_url":"https://api.github.com/users/kevinburkeshyp/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinburkeshyp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinburkeshyp/subscriptions","organizations_url":"https://api.github.com/users/kevinburkeshyp/orgs","repos_url":"https://api.github.com/users/kevinburkeshyp/repos","events_url":"https://api.github.com/users/kevinburkeshyp/events{/privacy}","received_events_url":"https://api.github.com/users/kevinburkeshyp/received_events","type":"User","site_admin":false},"created_at":"2015-04-21T22:56:15Z","updated_at":"2015-04-21T22:56:15Z","body":"You should be able to rewrite the URL with nginx pretty easily, search for internal rewrite"}}