{"action":"closed","number":298,"pull_request":{"url":"https://api.github.com/repos/jwilder/nginx-proxy/pulls/298","id":51419301,"html_url":"https://github.com/jwilder/nginx-proxy/pull/298","diff_url":"https://github.com/jwilder/nginx-proxy/pull/298.diff","patch_url":"https://github.com/jwilder/nginx-proxy/pull/298.patch","issue_url":"https://api.github.com/repos/jwilder/nginx-proxy/issues/298","number":298,"state":"closed","locked":false,"title":"Added env var to disable SSL redirect","user":{"login":"kamermans","id":266265,"avatar_url":"https://avatars.githubusercontent.com/u/266265?v=3","gravatar_id":"","url":"https://api.github.com/users/kamermans","html_url":"https://github.com/kamermans","followers_url":"https://api.github.com/users/kamermans/followers","following_url":"https://api.github.com/users/kamermans/following{/other_user}","gists_url":"https://api.github.com/users/kamermans/gists{/gist_id}","starred_url":"https://api.github.com/users/kamermans/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kamermans/subscriptions","organizations_url":"https://api.github.com/users/kamermans/orgs","repos_url":"https://api.github.com/users/kamermans/repos","events_url":"https://api.github.com/users/kamermans/events{/privacy}","received_events_url":"https://api.github.com/users/kamermans/received_events","type":"User","site_admin":false},"body":"This PR adds an environment variable option to disable the redirection of HTTP traffic to HTTPS.\r\n\r\nThe following possibilities exist:\r\n   - `HTTPS_METHOD=redirect` This is the default behavior - redirect HTTP to HTTPS if available.\r\n   - `HTTPS_METHOD=noredirect`  Instead of the redirect, the normal HTTP server block is rendered (although HSTS is still enabled).\r\n   - `HTTPS_METHOD=nohttp`   No HTTP block is generated at all, so only HTTPS is available.\r\n\r\nThis solves the following tickets, from what I can tell (and possibly more): #295, #291, #239","created_at":"2015-11-20T22:54:50Z","updated_at":"2016-05-01T23:45:45Z","closed_at":"2016-05-01T23:45:45Z","merged_at":"2016-05-01T23:45:45Z","merge_commit_sha":"5b9264d945271c0caee4de81af6ffc2ea628174f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jwilder/nginx-proxy/pulls/298/commits","review_comments_url":"https://api.github.com/repos/jwilder/nginx-proxy/pulls/298/comments","review_comment_url":"https://api.github.com/repos/jwilder/nginx-proxy/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jwilder/nginx-proxy/issues/298/comments","statuses_url":"https://api.github.com/repos/jwilder/nginx-proxy/statuses/786a2375aa2badf5bfa10cd369dde6c1fec415c2","head":{"label":"kamermans:master","ref":"master","sha":"786a2375aa2badf5bfa10cd369dde6c1fec415c2","user":{"login":"kamermans","id":266265,"avatar_url":"https://avatars.githubusercontent.com/u/266265?v=3","gravatar_id":"","url":"https://api.github.com/users/kamermans","html_url":"https://github.com/kamermans","followers_url":"https://api.github.com/users/kamermans/followers","following_url":"https://api.github.com/users/kamermans/following{/other_user}","gists_url":"https://api.github.com/users/kamermans/gists{/gist_id}","starred_url":"https://api.github.com/users/kamermans/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kamermans/subscriptions","organizations_url":"https://api.github.com/users/kamermans/orgs","repos_url":"https://api.github.com/users/kamermans/repos","events_url":"https://api.github.com/users/kamermans/events{/privacy}","received_events_url":"https://api.github.com/users/kamermans/received_events","type":"User","site_admin":false},"repo":{"id":46587267,"name":"nginx-proxy","full_name":"kamermans/nginx-proxy","owner":{"login":"kamermans","id":266265,"avatar_url":"https://avatars.githubusercontent.com/u/266265?v=3","gravatar_id":"","url":"https://api.github.com/users/kamermans","html_url":"https://github.com/kamermans","followers_url":"https://api.github.com/users/kamermans/followers","following_url":"https://api.github.com/users/kamermans/following{/other_user}","gists_url":"https://api.github.com/users/kamermans/gists{/gist_id}","starred_url":"https://api.github.com/users/kamermans/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kamermans/subscriptions","organizations_url":"https://api.github.com/users/kamermans/orgs","repos_url":"https://api.github.com/users/kamermans/repos","events_url":"https://api.github.com/users/kamermans/events{/privacy}","received_events_url":"https://api.github.com/users/kamermans/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kamermans/nginx-proxy","description":"Automated nginx proxy for Docker containers using docker-gen","fork":true,"url":"https://api.github.com/repos/kamermans/nginx-proxy","forks_url":"https://api.github.com/repos/kamermans/nginx-proxy/forks","keys_url":"https://api.github.com/repos/kamermans/nginx-proxy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kamermans/nginx-proxy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kamermans/nginx-proxy/teams","hooks_url":"https://api.github.com/repos/kamermans/nginx-proxy/hooks","issue_events_url":"https://api.github.com/repos/kamermans/nginx-proxy/issues/events{/number}","events_url":"https://api.github.com/repos/kamermans/nginx-proxy/events","assignees_url":"https://api.github.com/repos/kamermans/nginx-proxy/assignees{/user}","branches_url":"https://api.github.com/repos/kamermans/nginx-proxy/branches{/branch}","tags_url":"https://api.github.com/repos/kamermans/nginx-proxy/tags","blobs_url":"https://api.github.com/repos/kamermans/nginx-proxy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kamermans/nginx-proxy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kamermans/nginx-proxy/git/refs{/sha}","trees_url":"https://api.github.com/repos/kamermans/nginx-proxy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kamermans/nginx-proxy/statuses/{sha}","languages_url":"https://api.github.com/repos/kamermans/nginx-proxy/languages","stargazers_url":"https://api.github.com/repos/kamermans/nginx-proxy/stargazers","contributors_url":"https://api.github.com/repos/kamermans/nginx-proxy/contributors","subscribers_url":"https://api.github.com/repos/kamermans/nginx-proxy/subscribers","subscription_url":"https://api.github.com/repos/kamermans/nginx-proxy/subscription","commits_url":"https://api.github.com/repos/kamermans/nginx-proxy/commits{/sha}","git_commits_url":"https://api.github.com/repos/kamermans/nginx-proxy/git/commits{/sha}","comments_url":"https://api.github.com/repos/kamermans/nginx-proxy/comments{/number}","issue_comment_url":"https://api.github.com/repos/kamermans/nginx-proxy/issues/comments{/number}","contents_url":"https://api.github.com/repos/kamermans/nginx-proxy/contents/{+path}","compare_url":"https://api.github.com/repos/kamermans/nginx-proxy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kamermans/nginx-proxy/merges","archive_url":"https://api.github.com/repos/kamermans/nginx-proxy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kamermans/nginx-proxy/downloads","issues_url":"https://api.github.com/repos/kamermans/nginx-proxy/issues{/number}","pulls_url":"https://api.github.com/repos/kamermans/nginx-proxy/pulls{/number}","milestones_url":"https://api.github.com/repos/kamermans/nginx-proxy/milestones{/number}","notifications_url":"https://api.github.com/repos/kamermans/nginx-proxy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kamermans/nginx-proxy/labels{/name}","releases_url":"https://api.github.com/repos/kamermans/nginx-proxy/releases{/id}","deployments_url":"https://api.github.com/repos/kamermans/nginx-proxy/deployments","created_at":"2015-11-20T21:16:15Z","updated_at":"2016-04-29T12:25:34Z","pushed_at":"2016-04-20T16:47:25Z","git_url":"git://github.com/kamermans/nginx-proxy.git","ssh_url":"git@github.com:kamermans/nginx-proxy.git","clone_url":"https://github.com/kamermans/nginx-proxy.git","svn_url":"https://github.com/kamermans/nginx-proxy","homepage":null,"size":156,"stargazers_count":2,"watchers_count":2,"language":"Shell","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":2,"default_branch":"master"}},"base":{"label":"jwilder:master","ref":"master","sha":"48c31836be0896a324b50e21fcba0108a3f10e6f","user":{"login":"jwilder","id":219935,"avatar_url":"https://avatars.githubusercontent.com/u/219935?v=3","gravatar_id":"","url":"https://api.github.com/users/jwilder","html_url":"https://github.com/jwilder","followers_url":"https://api.github.com/users/jwilder/followers","following_url":"https://api.github.com/users/jwilder/following{/other_user}","gists_url":"https://api.github.com/users/jwilder/gists{/gist_id}","starred_url":"https://api.github.com/users/jwilder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwilder/subscriptions","organizations_url":"https://api.github.com/users/jwilder/orgs","repos_url":"https://api.github.com/users/jwilder/repos","events_url":"https://api.github.com/users/jwilder/events{/privacy}","received_events_url":"https://api.github.com/users/jwilder/received_events","type":"User","site_admin":false},"repo":{"id":19463625,"name":"nginx-proxy","full_name":"jwilder/nginx-proxy","owner":{"login":"jwilder","id":219935,"avatar_url":"https://avatars.githubusercontent.com/u/219935?v=3","gravatar_id":"","url":"https://api.github.com/users/jwilder","html_url":"https://github.com/jwilder","followers_url":"https://api.github.com/users/jwilder/followers","following_url":"https://api.github.com/users/jwilder/following{/other_user}","gists_url":"https://api.github.com/users/jwilder/gists{/gist_id}","starred_url":"https://api.github.com/users/jwilder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwilder/subscriptions","organizations_url":"https://api.github.com/users/jwilder/orgs","repos_url":"https://api.github.com/users/jwilder/repos","events_url":"https://api.github.com/users/jwilder/events{/privacy}","received_events_url":"https://api.github.com/users/jwilder/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jwilder/nginx-proxy","description":"Automated nginx proxy for Docker containers using docker-gen","fork":false,"url":"https://api.github.com/repos/jwilder/nginx-proxy","forks_url":"https://api.github.com/repos/jwilder/nginx-proxy/forks","keys_url":"https://api.github.com/repos/jwilder/nginx-proxy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jwilder/nginx-proxy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jwilder/nginx-proxy/teams","hooks_url":"https://api.github.com/repos/jwilder/nginx-proxy/hooks","issue_events_url":"https://api.github.com/repos/jwilder/nginx-proxy/issues/events{/number}","events_url":"https://api.github.com/repos/jwilder/nginx-proxy/events","assignees_url":"https://api.github.com/repos/jwilder/nginx-proxy/assignees{/user}","branches_url":"https://api.github.com/repos/jwilder/nginx-proxy/branches{/branch}","tags_url":"https://api.github.com/repos/jwilder/nginx-proxy/tags","blobs_url":"https://api.github.com/repos/jwilder/nginx-proxy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jwilder/nginx-proxy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jwilder/nginx-proxy/git/refs{/sha}","trees_url":"https://api.github.com/repos/jwilder/nginx-proxy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jwilder/nginx-proxy/statuses/{sha}","languages_url":"https://api.github.com/repos/jwilder/nginx-proxy/languages","stargazers_url":"https://api.github.com/repos/jwilder/nginx-proxy/stargazers","contributors_url":"https://api.github.com/repos/jwilder/nginx-proxy/contributors","subscribers_url":"https://api.github.com/repos/jwilder/nginx-proxy/subscribers","subscription_url":"https://api.github.com/repos/jwilder/nginx-proxy/subscription","commits_url":"https://api.github.com/repos/jwilder/nginx-proxy/commits{/sha}","git_commits_url":"https://api.github.com/repos/jwilder/nginx-proxy/git/commits{/sha}","comments_url":"https://api.github.com/repos/jwilder/nginx-proxy/comments{/number}","issue_comment_url":"https://api.github.com/repos/jwilder/nginx-proxy/issues/comments{/number}","contents_url":"https://api.github.com/repos/jwilder/nginx-proxy/contents/{+path}","compare_url":"https://api.github.com/repos/jwilder/nginx-proxy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jwilder/nginx-proxy/merges","archive_url":"https://api.github.com/repos/jwilder/nginx-proxy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jwilder/nginx-proxy/downloads","issues_url":"https://api.github.com/repos/jwilder/nginx-proxy/issues{/number}","pulls_url":"https://api.github.com/repos/jwilder/nginx-proxy/pulls{/number}","milestones_url":"https://api.github.com/repos/jwilder/nginx-proxy/milestones{/number}","notifications_url":"https://api.github.com/repos/jwilder/nginx-proxy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jwilder/nginx-proxy/labels{/name}","releases_url":"https://api.github.com/repos/jwilder/nginx-proxy/releases{/id}","deployments_url":"https://api.github.com/repos/jwilder/nginx-proxy/deployments","created_at":"2014-05-05T17:01:40Z","updated_at":"2016-05-01T20:10:19Z","pushed_at":"2016-05-01T23:45:45Z","git_url":"git://github.com/jwilder/nginx-proxy.git","ssh_url":"git@github.com:jwilder/nginx-proxy.git","clone_url":"https://github.com/jwilder/nginx-proxy.git","svn_url":"https://github.com/jwilder/nginx-proxy","homepage":null,"size":4638,"stargazers_count":2504,"watchers_count":2504,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":623,"mirror_url":null,"open_issues_count":158,"forks":623,"open_issues":158,"watchers":2504,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jwilder/nginx-proxy/pulls/298"},"html":{"href":"https://github.com/jwilder/nginx-proxy/pull/298"},"issue":{"href":"https://api.github.com/repos/jwilder/nginx-proxy/issues/298"},"comments":{"href":"https://api.github.com/repos/jwilder/nginx-proxy/issues/298/comments"},"review_comments":{"href":"https://api.github.com/repos/jwilder/nginx-proxy/pulls/298/comments"},"review_comment":{"href":"https://api.github.com/repos/jwilder/nginx-proxy/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jwilder/nginx-proxy/pulls/298/commits"},"statuses":{"href":"https://api.github.com/repos/jwilder/nginx-proxy/statuses/786a2375aa2badf5bfa10cd369dde6c1fec415c2"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"jwilder","id":219935,"avatar_url":"https://avatars.githubusercontent.com/u/219935?v=3","gravatar_id":"","url":"https://api.github.com/users/jwilder","html_url":"https://github.com/jwilder","followers_url":"https://api.github.com/users/jwilder/followers","following_url":"https://api.github.com/users/jwilder/following{/other_user}","gists_url":"https://api.github.com/users/jwilder/gists{/gist_id}","starred_url":"https://api.github.com/users/jwilder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwilder/subscriptions","organizations_url":"https://api.github.com/users/jwilder/orgs","repos_url":"https://api.github.com/users/jwilder/repos","events_url":"https://api.github.com/users/jwilder/events{/privacy}","received_events_url":"https://api.github.com/users/jwilder/received_events","type":"User","site_admin":false},"comments":11,"review_comments":0,"commits":11,"additions":204,"deletions":4,"changed_files":6}}