{"action":"created","issue":{"url":"https://api.github.com/repos/adamhalasz/diet/issues/55","repository_url":"https://api.github.com/repos/adamhalasz/diet","labels_url":"https://api.github.com/repos/adamhalasz/diet/issues/55/labels{/name}","comments_url":"https://api.github.com/repos/adamhalasz/diet/issues/55/comments","events_url":"https://api.github.com/repos/adamhalasz/diet/issues/55/events","html_url":"https://github.com/adamhalasz/diet/issues/55","id":165253773,"number":55,"title":"Nginx doesn't work with Diet?","user":{"login":"rudimk","id":288007,"avatar_url":"https://avatars.githubusercontent.com/u/288007?v=3","gravatar_id":"","url":"https://api.github.com/users/rudimk","html_url":"https://github.com/rudimk","followers_url":"https://api.github.com/users/rudimk/followers","following_url":"https://api.github.com/users/rudimk/following{/other_user}","gists_url":"https://api.github.com/users/rudimk/gists{/gist_id}","starred_url":"https://api.github.com/users/rudimk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rudimk/subscriptions","organizations_url":"https://api.github.com/users/rudimk/orgs","repos_url":"https://api.github.com/users/rudimk/repos","events_url":"https://api.github.com/users/rudimk/events{/privacy}","received_events_url":"https://api.github.com/users/rudimk/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/adamhalasz/diet/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":{"login":"adamhalasz","id":839018,"avatar_url":"https://avatars.githubusercontent.com/u/839018?v=3","gravatar_id":"","url":"https://api.github.com/users/adamhalasz","html_url":"https://github.com/adamhalasz","followers_url":"https://api.github.com/users/adamhalasz/followers","following_url":"https://api.github.com/users/adamhalasz/following{/other_user}","gists_url":"https://api.github.com/users/adamhalasz/gists{/gist_id}","starred_url":"https://api.github.com/users/adamhalasz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamhalasz/subscriptions","organizations_url":"https://api.github.com/users/adamhalasz/orgs","repos_url":"https://api.github.com/users/adamhalasz/repos","events_url":"https://api.github.com/users/adamhalasz/events{/privacy}","received_events_url":"https://api.github.com/users/adamhalasz/received_events","type":"User","site_admin":false},"assignees":[{"login":"adamhalasz","id":839018,"avatar_url":"https://avatars.githubusercontent.com/u/839018?v=3","gravatar_id":"","url":"https://api.github.com/users/adamhalasz","html_url":"https://github.com/adamhalasz","followers_url":"https://api.github.com/users/adamhalasz/followers","following_url":"https://api.github.com/users/adamhalasz/following{/other_user}","gists_url":"https://api.github.com/users/adamhalasz/gists{/gist_id}","starred_url":"https://api.github.com/users/adamhalasz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamhalasz/subscriptions","organizations_url":"https://api.github.com/users/adamhalasz/orgs","repos_url":"https://api.github.com/users/adamhalasz/repos","events_url":"https://api.github.com/users/adamhalasz/events{/privacy}","received_events_url":"https://api.github.com/users/adamhalasz/received_events","type":"User","site_admin":false}],"milestone":null,"comments":15,"created_at":"2016-07-13T07:21:37Z","updated_at":"2016-07-23T06:43:37Z","closed_at":null,"body":"I have a Diet.js API running on ```http://127.0.0.1:6000```, and I'm trying to set up nginx to proxy requests to the API. But it doesn't work - nginx invariably throws up a ```404 host not found``` error.\r\n\r\nI saw [this](https://github.com/adamhalasz/diet/issues/16) issue, and it seems similar to the predicament I'm in. Unfortunately, I can't figure out where to apply the same fix, because I suppose ```models/host.js``` was deprecated or something. How can I get this to work?\r\n\r\nThanks!\r\n\r\n**EDIT** - I've also tried running the API on ```0.0.0.0```, but the same problem persists."},"comment":{"url":"https://api.github.com/repos/adamhalasz/diet/issues/comments/234703022","html_url":"https://github.com/adamhalasz/diet/issues/55#issuecomment-234703022","issue_url":"https://api.github.com/repos/adamhalasz/diet/issues/55","id":234703022,"user":{"login":"adamhalasz","id":839018,"avatar_url":"https://avatars.githubusercontent.com/u/839018?v=3","gravatar_id":"","url":"https://api.github.com/users/adamhalasz","html_url":"https://github.com/adamhalasz","followers_url":"https://api.github.com/users/adamhalasz/followers","following_url":"https://api.github.com/users/adamhalasz/following{/other_user}","gists_url":"https://api.github.com/users/adamhalasz/gists{/gist_id}","starred_url":"https://api.github.com/users/adamhalasz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamhalasz/subscriptions","organizations_url":"https://api.github.com/users/adamhalasz/orgs","repos_url":"https://api.github.com/users/adamhalasz/repos","events_url":"https://api.github.com/users/adamhalasz/events{/privacy}","received_events_url":"https://api.github.com/users/adamhalasz/received_events","type":"User","site_admin":false},"created_at":"2016-07-23T06:43:37Z","updated_at":"2016-07-23T06:43:37Z","body":"hey @rudimk thanks for your patience. I'm really tied up in my own work but I'm going to work on this as soon as I can, when I will have some more time on my hands. We're going to use nginx as well at my company. I'm going to deal with this pretty soon. \r\n\r\nHow is diet performing without nginx by the way? If you don't mind me asking, what are you working on?\r\n\r\nThanks,\r\nAdam"}}
{"actor":{"display_login":"adamhalasz"}}