{"action":"created","issue":{"url":"https://api.github.com/repos/nicolargo/varnish-nginx-wordpress/issues/25","labels_url":"https://api.github.com/repos/nicolargo/varnish-nginx-wordpress/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/nicolargo/varnish-nginx-wordpress/issues/25/comments","events_url":"https://api.github.com/repos/nicolargo/varnish-nginx-wordpress/issues/25/events","html_url":"https://github.com/nicolargo/varnish-nginx-wordpress/pull/25","id":74881956,"number":25,"title":"IP was always 127.0.0.1 in log","user":{"login":"Oyabi","id":7139283,"avatar_url":"https://avatars.githubusercontent.com/u/7139283?v=3","gravatar_id":"","url":"https://api.github.com/users/Oyabi","html_url":"https://github.com/Oyabi","followers_url":"https://api.github.com/users/Oyabi/followers","following_url":"https://api.github.com/users/Oyabi/following{/other_user}","gists_url":"https://api.github.com/users/Oyabi/gists{/gist_id}","starred_url":"https://api.github.com/users/Oyabi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Oyabi/subscriptions","organizations_url":"https://api.github.com/users/Oyabi/orgs","repos_url":"https://api.github.com/users/Oyabi/repos","events_url":"https://api.github.com/users/Oyabi/events{/privacy}","received_events_url":"https://api.github.com/users/Oyabi/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-10T09:45:52Z","updated_at":"2015-05-15T21:33:28Z","closed_at":"2015-05-15T21:33:20Z","pull_request":{"url":"https://api.github.com/repos/nicolargo/varnish-nginx-wordpress/pulls/25","html_url":"https://github.com/nicolargo/varnish-nginx-wordpress/pull/25","diff_url":"https://github.com/nicolargo/varnish-nginx-wordpress/pull/25.diff","patch_url":"https://github.com/nicolargo/varnish-nginx-wordpress/pull/25.patch"},"body":"In my log, requests IP was always set to 127.0.0.1. This is caused by varnish who was on the same machine as nginx.\r\nWith that fix, IP is set correctly to the client's IP.\r\n\r\nSource : http://linuxaria.com/article/how-to-log-the-correct-ip-having-varnish-and-nginx"},"comment":{"url":"https://api.github.com/repos/nicolargo/varnish-nginx-wordpress/issues/comments/102530603","html_url":"https://github.com/nicolargo/varnish-nginx-wordpress/pull/25#issuecomment-102530603","issue_url":"https://api.github.com/repos/nicolargo/varnish-nginx-wordpress/issues/25","id":102530603,"user":{"login":"nicolargo","id":776747,"avatar_url":"https://avatars.githubusercontent.com/u/776747?v=3","gravatar_id":"","url":"https://api.github.com/users/nicolargo","html_url":"https://github.com/nicolargo","followers_url":"https://api.github.com/users/nicolargo/followers","following_url":"https://api.github.com/users/nicolargo/following{/other_user}","gists_url":"https://api.github.com/users/nicolargo/gists{/gist_id}","starred_url":"https://api.github.com/users/nicolargo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicolargo/subscriptions","organizations_url":"https://api.github.com/users/nicolargo/orgs","repos_url":"https://api.github.com/users/nicolargo/repos","events_url":"https://api.github.com/users/nicolargo/events{/privacy}","received_events_url":"https://api.github.com/users/nicolargo/received_events","type":"User","site_admin":false},"created_at":"2015-05-15T21:33:28Z","updated_at":"2015-05-15T21:33:28Z","body":"Thk @Oyabi "}}