{"action":"opened","number":6,"pull_request":{"url":"https://api.github.com/repos/idi-ops/ansible-nginx-reverse/pulls/6","id":64583907,"html_url":"https://github.com/idi-ops/ansible-nginx-reverse/pull/6","diff_url":"https://github.com/idi-ops/ansible-nginx-reverse/pull/6.diff","patch_url":"https://github.com/idi-ops/ansible-nginx-reverse/pull/6.patch","issue_url":"https://api.github.com/repos/idi-ops/ansible-nginx-reverse/issues/6","number":6,"state":"open","locked":false,"title":"Added the X-Forwarded-For option to the proxypass","user":{"login":"amatas","id":158641,"avatar_url":"https://avatars.githubusercontent.com/u/158641?v=3","gravatar_id":"","url":"https://api.github.com/users/amatas","html_url":"https://github.com/amatas","followers_url":"https://api.github.com/users/amatas/followers","following_url":"https://api.github.com/users/amatas/following{/other_user}","gists_url":"https://api.github.com/users/amatas/gists{/gist_id}","starred_url":"https://api.github.com/users/amatas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amatas/subscriptions","organizations_url":"https://api.github.com/users/amatas/orgs","repos_url":"https://api.github.com/users/amatas/repos","events_url":"https://api.github.com/users/amatas/events{/privacy}","received_events_url":"https://api.github.com/users/amatas/received_events","type":"User","site_admin":false},"body":"The [X-Forwareded-For header](https://en.wikipedia.org/wiki/X-Forwarded-For) is very useful to know the real IP of a client, and to identify the proxys that are between the client and the backend server. Mediawiki [uses this header](https://www.mediawiki.org/wiki/Manual:$wgUsePrivateIPs)  to identify the IP of the client, for example.\r\n\r\n","created_at":"2016-03-30T07:41:39Z","updated_at":"2016-03-30T07:41:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/idi-ops/ansible-nginx-reverse/pulls/6/commits","review_comments_url":"https://api.github.com/repos/idi-ops/ansible-nginx-reverse/pulls/6/comments","review_comment_url":"https://api.github.com/repos/idi-ops/ansible-nginx-reverse/pulls/comments{/number}","comments_url":"https://api.github.com/repos/idi-ops/ansible-nginx-reverse/issues/6/comments","statuses_url":"https://api.github.com/repos/idi-ops/ansible-nginx-reverse/statuses/d8016f40127cf41c12097ab4a43eca223f974b16","head":{"label":"amatas:master","ref":"master","sha":"d8016f40127cf41c12097ab4a43eca223f974b16","user":{"login":"amatas","id":158641,"avatar_url":"https://avatars.githubusercontent.com/u/158641?v=3","gravatar_id":"","url":"https://api.github.com/users/amatas","html_url":"https://github.com/amatas","followers_url":"https://api.github.com/users/amatas/followers","following_url":"https://api.github.com/users/amatas/following{/other_user}","gists_url":"https://api.github.com/users/amatas/gists{/gist_id}","starred_url":"https://api.github.com/users/amatas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amatas/subscriptions","organizations_url":"https://api.github.com/users/amatas/orgs","repos_url":"https://api.github.com/users/amatas/repos","events_url":"https://api.github.com/users/amatas/events{/privacy}","received_events_url":"https://api.github.com/users/amatas/received_events","type":"User","site_admin":false},"repo":{"id":55042580,"name":"ansible-nginx-reverse","full_name":"amatas/ansible-nginx-reverse","owner":{"login":"amatas","id":158641,"avatar_url":"https://avatars.githubusercontent.com/u/158641?v=3","gravatar_id":"","url":"https://api.github.com/users/amatas","html_url":"https://github.com/amatas","followers_url":"https://api.github.com/users/amatas/followers","following_url":"https://api.github.com/users/amatas/following{/other_user}","gists_url":"https://api.github.com/users/amatas/gists{/gist_id}","starred_url":"https://api.github.com/users/amatas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amatas/subscriptions","organizations_url":"https://api.github.com/users/amatas/orgs","repos_url":"https://api.github.com/users/amatas/repos","events_url":"https://api.github.com/users/amatas/events{/privacy}","received_events_url":"https://api.github.com/users/amatas/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/amatas/ansible-nginx-reverse","description":"Creates and deploys simple nginx reverse proxy configurations from supplied variables, optionally making use of the load balancing features as well.","fork":true,"url":"https://api.github.com/repos/amatas/ansible-nginx-reverse","forks_url":"https://api.github.com/repos/amatas/ansible-nginx-reverse/forks","keys_url":"https://api.github.com/repos/amatas/ansible-nginx-reverse/keys{/key_id}","collaborators_url":"https://api.github.com/repos/amatas/ansible-nginx-reverse/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/amatas/ansible-nginx-reverse/teams","hooks_url":"https://api.github.com/repos/amatas/ansible-nginx-reverse/hooks","issue_events_url":"https://api.github.com/repos/amatas/ansible-nginx-reverse/issues/events{/number}","events_url":"https://api.github.com/repos/amatas/ansible-nginx-reverse/events","assignees_url":"https://api.github.com/repos/amatas/ansible-nginx-reverse/assignees{/user}","branches_url":"https://api.github.com/repos/amatas/ansible-nginx-reverse/branches{/branch}","tags_url":"https://api.github.com/repos/amatas/ansible-nginx-reverse/tags","blobs_url":"https://api.github.com/repos/amatas/ansible-nginx-reverse/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/amatas/ansible-nginx-reverse/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/amatas/ansible-nginx-reverse/git/refs{/sha}","trees_url":"https://api.github.com/repos/amatas/ansible-nginx-reverse/git/trees{/sha}","statuses_url":"https://api.github.com/repos/amatas/ansible-nginx-reverse/statuses/{sha}","languages_url":"https://api.github.com/repos/amatas/ansible-nginx-reverse/languages","stargazers_url":"https://api.github.com/repos/amatas/ansible-nginx-reverse/stargazers","contributors_url":"https://api.github.com/repos/amatas/ansible-nginx-reverse/contributors","subscribers_url":"https://api.github.com/repos/amatas/ansible-nginx-reverse/subscribers","subscription_url":"https://api.github.com/repos/amatas/ansible-nginx-reverse/subscription","commits_url":"https://api.github.com/repos/amatas/ansible-nginx-reverse/commits{/sha}","git_commits_url":"https://api.github.com/repos/amatas/ansible-nginx-reverse/git/commits{/sha}","comments_url":"https://api.github.com/repos/amatas/ansible-nginx-reverse/comments{/number}","issue_comment_url":"https://api.github.com/repos/amatas/ansible-nginx-reverse/issues/comments{/number}","contents_url":"https://api.github.com/repos/amatas/ansible-nginx-reverse/contents/{+path}","compare_url":"https://api.github.com/repos/amatas/ansible-nginx-reverse/compare/{base}...{head}","merges_url":"https://api.github.com/repos/amatas/ansible-nginx-reverse/merges","archive_url":"https://api.github.com/repos/amatas/ansible-nginx-reverse/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/amatas/ansible-nginx-reverse/downloads","issues_url":"https://api.github.com/repos/amatas/ansible-nginx-reverse/issues{/number}","pulls_url":"https://api.github.com/repos/amatas/ansible-nginx-reverse/pulls{/number}","milestones_url":"https://api.github.com/repos/amatas/ansible-nginx-reverse/milestones{/number}","notifications_url":"https://api.github.com/repos/amatas/ansible-nginx-reverse/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/amatas/ansible-nginx-reverse/labels{/name}","releases_url":"https://api.github.com/repos/amatas/ansible-nginx-reverse/releases{/id}","deployments_url":"https://api.github.com/repos/amatas/ansible-nginx-reverse/deployments","created_at":"2016-03-30T07:38:00Z","updated_at":"2016-01-12T15:16:55Z","pushed_at":"2016-03-30T07:38:19Z","git_url":"git://github.com/amatas/ansible-nginx-reverse.git","ssh_url":"git@github.com:amatas/ansible-nginx-reverse.git","clone_url":"https://github.com/amatas/ansible-nginx-reverse.git","svn_url":"https://github.com/amatas/ansible-nginx-reverse","homepage":null,"size":12,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"idi-ops:master","ref":"master","sha":"0edbee8703ad1a8c349f0d6a1b21aaade2a438b5","user":{"login":"idi-ops","id":10491906,"avatar_url":"https://avatars.githubusercontent.com/u/10491906?v=3","gravatar_id":"","url":"https://api.github.com/users/idi-ops","html_url":"https://github.com/idi-ops","followers_url":"https://api.github.com/users/idi-ops/followers","following_url":"https://api.github.com/users/idi-ops/following{/other_user}","gists_url":"https://api.github.com/users/idi-ops/gists{/gist_id}","starred_url":"https://api.github.com/users/idi-ops/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/idi-ops/subscriptions","organizations_url":"https://api.github.com/users/idi-ops/orgs","repos_url":"https://api.github.com/users/idi-ops/repos","events_url":"https://api.github.com/users/idi-ops/events{/privacy}","received_events_url":"https://api.github.com/users/idi-ops/received_events","type":"Organization","site_admin":false},"repo":{"id":48441009,"name":"ansible-nginx-reverse","full_name":"idi-ops/ansible-nginx-reverse","owner":{"login":"idi-ops","id":10491906,"avatar_url":"https://avatars.githubusercontent.com/u/10491906?v=3","gravatar_id":"","url":"https://api.github.com/users/idi-ops","html_url":"https://github.com/idi-ops","followers_url":"https://api.github.com/users/idi-ops/followers","following_url":"https://api.github.com/users/idi-ops/following{/other_user}","gists_url":"https://api.github.com/users/idi-ops/gists{/gist_id}","starred_url":"https://api.github.com/users/idi-ops/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/idi-ops/subscriptions","organizations_url":"https://api.github.com/users/idi-ops/orgs","repos_url":"https://api.github.com/users/idi-ops/repos","events_url":"https://api.github.com/users/idi-ops/events{/privacy}","received_events_url":"https://api.github.com/users/idi-ops/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/idi-ops/ansible-nginx-reverse","description":"Creates and deploys simple nginx reverse proxy configurations from supplied variables, optionally making use of the load balancing features as well.","fork":false,"url":"https://api.github.com/repos/idi-ops/ansible-nginx-reverse","forks_url":"https://api.github.com/repos/idi-ops/ansible-nginx-reverse/forks","keys_url":"https://api.github.com/repos/idi-ops/ansible-nginx-reverse/keys{/key_id}","collaborators_url":"https://api.github.com/repos/idi-ops/ansible-nginx-reverse/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/idi-ops/ansible-nginx-reverse/teams","hooks_url":"https://api.github.com/repos/idi-ops/ansible-nginx-reverse/hooks","issue_events_url":"https://api.github.com/repos/idi-ops/ansible-nginx-reverse/issues/events{/number}","events_url":"https://api.github.com/repos/idi-ops/ansible-nginx-reverse/events","assignees_url":"https://api.github.com/repos/idi-ops/ansible-nginx-reverse/assignees{/user}","branches_url":"https://api.github.com/repos/idi-ops/ansible-nginx-reverse/branches{/branch}","tags_url":"https://api.github.com/repos/idi-ops/ansible-nginx-reverse/tags","blobs_url":"https://api.github.com/repos/idi-ops/ansible-nginx-reverse/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/idi-ops/ansible-nginx-reverse/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/idi-ops/ansible-nginx-reverse/git/refs{/sha}","trees_url":"https://api.github.com/repos/idi-ops/ansible-nginx-reverse/git/trees{/sha}","statuses_url":"https://api.github.com/repos/idi-ops/ansible-nginx-reverse/statuses/{sha}","languages_url":"https://api.github.com/repos/idi-ops/ansible-nginx-reverse/languages","stargazers_url":"https://api.github.com/repos/idi-ops/ansible-nginx-reverse/stargazers","contributors_url":"https://api.github.com/repos/idi-ops/ansible-nginx-reverse/contributors","subscribers_url":"https://api.github.com/repos/idi-ops/ansible-nginx-reverse/subscribers","subscription_url":"https://api.github.com/repos/idi-ops/ansible-nginx-reverse/subscription","commits_url":"https://api.github.com/repos/idi-ops/ansible-nginx-reverse/commits{/sha}","git_commits_url":"https://api.github.com/repos/idi-ops/ansible-nginx-reverse/git/commits{/sha}","comments_url":"https://api.github.com/repos/idi-ops/ansible-nginx-reverse/comments{/number}","issue_comment_url":"https://api.github.com/repos/idi-ops/ansible-nginx-reverse/issues/comments{/number}","contents_url":"https://api.github.com/repos/idi-ops/ansible-nginx-reverse/contents/{+path}","compare_url":"https://api.github.com/repos/idi-ops/ansible-nginx-reverse/compare/{base}...{head}","merges_url":"https://api.github.com/repos/idi-ops/ansible-nginx-reverse/merges","archive_url":"https://api.github.com/repos/idi-ops/ansible-nginx-reverse/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/idi-ops/ansible-nginx-reverse/downloads","issues_url":"https://api.github.com/repos/idi-ops/ansible-nginx-reverse/issues{/number}","pulls_url":"https://api.github.com/repos/idi-ops/ansible-nginx-reverse/pulls{/number}","milestones_url":"https://api.github.com/repos/idi-ops/ansible-nginx-reverse/milestones{/number}","notifications_url":"https://api.github.com/repos/idi-ops/ansible-nginx-reverse/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/idi-ops/ansible-nginx-reverse/labels{/name}","releases_url":"https://api.github.com/repos/idi-ops/ansible-nginx-reverse/releases{/id}","deployments_url":"https://api.github.com/repos/idi-ops/ansible-nginx-reverse/deployments","created_at":"2015-12-22T16:01:13Z","updated_at":"2016-01-12T15:16:55Z","pushed_at":"2016-03-30T07:41:39Z","git_url":"git://github.com/idi-ops/ansible-nginx-reverse.git","ssh_url":"git@github.com:idi-ops/ansible-nginx-reverse.git","clone_url":"https://github.com/idi-ops/ansible-nginx-reverse.git","svn_url":"https://github.com/idi-ops/ansible-nginx-reverse","homepage":null,"size":11,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":1,"forks":3,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/idi-ops/ansible-nginx-reverse/pulls/6"},"html":{"href":"https://github.com/idi-ops/ansible-nginx-reverse/pull/6"},"issue":{"href":"https://api.github.com/repos/idi-ops/ansible-nginx-reverse/issues/6"},"comments":{"href":"https://api.github.com/repos/idi-ops/ansible-nginx-reverse/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/idi-ops/ansible-nginx-reverse/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/idi-ops/ansible-nginx-reverse/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/idi-ops/ansible-nginx-reverse/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/idi-ops/ansible-nginx-reverse/statuses/d8016f40127cf41c12097ab4a43eca223f974b16"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":3,"deletions":2,"changed_files":1}}