{"action":"created","comment":{"url":"https://api.github.com/repos/mozilla/bedrock/pulls/comments/38645306","id":38645306,"diff_hunk":"@@ -847,3 +848,7 @@ def facebook_tab_url_lazy():\n STATSD_HOST = config('STATSD_HOST', default='127.0.0.1')\n STATSD_PORT = config('STATSD_PORT', cast=int, default=8125)\n STATSD_PREFIX = config('STATSD_PREFIX', default='bedrock')\n+\n+SSLIFY_DISABLE = config('DISABLE_SSL', default=True, cast=bool)\n+SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https')\n+USE_X_FORWARDED_HOST = True","path":"bedrock/settings/base.py","position":15,"original_position":15,"commit_id":"4a1256bae4be9cbf2653dc23374134f189169069","original_commit_id":"4a1256bae4be9cbf2653dc23374134f189169069","user":{"login":"pmclanahan","id":19934,"avatar_url":"https://avatars.githubusercontent.com/u/19934?v=3","gravatar_id":"","url":"https://api.github.com/users/pmclanahan","html_url":"https://github.com/pmclanahan","followers_url":"https://api.github.com/users/pmclanahan/followers","following_url":"https://api.github.com/users/pmclanahan/following{/other_user}","gists_url":"https://api.github.com/users/pmclanahan/gists{/gist_id}","starred_url":"https://api.github.com/users/pmclanahan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pmclanahan/subscriptions","organizations_url":"https://api.github.com/users/pmclanahan/orgs","repos_url":"https://api.github.com/users/pmclanahan/repos","events_url":"https://api.github.com/users/pmclanahan/events{/privacy}","received_events_url":"https://api.github.com/users/pmclanahan/received_events","type":"User","site_admin":false},"body":"That's probably safest.","created_at":"2015-09-03T13:32:46Z","updated_at":"2015-09-03T13:32:46Z","html_url":"https://github.com/mozilla/bedrock/pull/3272#discussion_r38645306","pull_request_url":"https://api.github.com/repos/mozilla/bedrock/pulls/3272","_links":{"self":{"href":"https://api.github.com/repos/mozilla/bedrock/pulls/comments/38645306"},"html":{"href":"https://github.com/mozilla/bedrock/pull/3272#discussion_r38645306"},"pull_request":{"href":"https://api.github.com/repos/mozilla/bedrock/pulls/3272"}}},"pull_request":{"url":"https://api.github.com/repos/mozilla/bedrock/pulls/3272","id":44084012,"html_url":"https://github.com/mozilla/bedrock/pull/3272","diff_url":"https://github.com/mozilla/bedrock/pull/3272.diff","patch_url":"https://github.com/mozilla/bedrock/pull/3272.patch","issue_url":"https://api.github.com/repos/mozilla/bedrock/issues/3272","number":3272,"state":"open","locked":false,"title":"Add sslify for Deis deployments.","user":{"login":"glogiotatidis","id":584352,"avatar_url":"https://avatars.githubusercontent.com/u/584352?v=3","gravatar_id":"","url":"https://api.github.com/users/glogiotatidis","html_url":"https://github.com/glogiotatidis","followers_url":"https://api.github.com/users/glogiotatidis/followers","following_url":"https://api.github.com/users/glogiotatidis/following{/other_user}","gists_url":"https://api.github.com/users/glogiotatidis/gists{/gist_id}","starred_url":"https://api.github.com/users/glogiotatidis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/glogiotatidis/subscriptions","organizations_url":"https://api.github.com/users/glogiotatidis/orgs","repos_url":"https://api.github.com/users/glogiotatidis/repos","events_url":"https://api.github.com/users/glogiotatidis/events{/privacy}","received_events_url":"https://api.github.com/users/glogiotatidis/received_events","type":"User","site_admin":false},"body":"When SSLify is enabled (disabled by default) will redirect http requests\r\nto https.\r\n\r\n@pmclanahan or @jgmize r?","created_at":"2015-09-03T09:10:40Z","updated_at":"2015-09-03T13:32:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c9d343ad9c7c8705ad6a86518631e47fe76dbac2","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mozilla/bedrock/pulls/3272/commits","review_comments_url":"https://api.github.com/repos/mozilla/bedrock/pulls/3272/comments","review_comment_url":"https://api.github.com/repos/mozilla/bedrock/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mozilla/bedrock/issues/3272/comments","statuses_url":"https://api.github.com/repos/mozilla/bedrock/statuses/4a1256bae4be9cbf2653dc23374134f189169069","head":{"label":"glogiotatidis:sslify","ref":"sslify","sha":"4a1256bae4be9cbf2653dc23374134f189169069","user":{"login":"glogiotatidis","id":584352,"avatar_url":"https://avatars.githubusercontent.com/u/584352?v=3","gravatar_id":"","url":"https://api.github.com/users/glogiotatidis","html_url":"https://github.com/glogiotatidis","followers_url":"https://api.github.com/users/glogiotatidis/followers","following_url":"https://api.github.com/users/glogiotatidis/following{/other_user}","gists_url":"https://api.github.com/users/glogiotatidis/gists{/gist_id}","starred_url":"https://api.github.com/users/glogiotatidis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/glogiotatidis/subscriptions","organizations_url":"https://api.github.com/users/glogiotatidis/orgs","repos_url":"https://api.github.com/users/glogiotatidis/repos","events_url":"https://api.github.com/users/glogiotatidis/events{/privacy}","received_events_url":"https://api.github.com/users/glogiotatidis/received_events","type":"User","site_admin":false},"repo":{"id":4405077,"name":"bedrock","full_name":"glogiotatidis/bedrock","owner":{"login":"glogiotatidis","id":584352,"avatar_url":"https://avatars.githubusercontent.com/u/584352?v=3","gravatar_id":"","url":"https://api.github.com/users/glogiotatidis","html_url":"https://github.com/glogiotatidis","followers_url":"https://api.github.com/users/glogiotatidis/followers","following_url":"https://api.github.com/users/glogiotatidis/following{/other_user}","gists_url":"https://api.github.com/users/glogiotatidis/gists{/gist_id}","starred_url":"https://api.github.com/users/glogiotatidis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/glogiotatidis/subscriptions","organizations_url":"https://api.github.com/users/glogiotatidis/orgs","repos_url":"https://api.github.com/users/glogiotatidis/repos","events_url":"https://api.github.com/users/glogiotatidis/events{/privacy}","received_events_url":"https://api.github.com/users/glogiotatidis/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/glogiotatidis/bedrock","description":"Making mozilla.org awesome, one pebble at a time","fork":true,"url":"https://api.github.com/repos/glogiotatidis/bedrock","forks_url":"https://api.github.com/repos/glogiotatidis/bedrock/forks","keys_url":"https://api.github.com/repos/glogiotatidis/bedrock/keys{/key_id}","collaborators_url":"https://api.github.com/repos/glogiotatidis/bedrock/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/glogiotatidis/bedrock/teams","hooks_url":"https://api.github.com/repos/glogiotatidis/bedrock/hooks","issue_events_url":"https://api.github.com/repos/glogiotatidis/bedrock/issues/events{/number}","events_url":"https://api.github.com/repos/glogiotatidis/bedrock/events","assignees_url":"https://api.github.com/repos/glogiotatidis/bedrock/assignees{/user}","branches_url":"https://api.github.com/repos/glogiotatidis/bedrock/branches{/branch}","tags_url":"https://api.github.com/repos/glogiotatidis/bedrock/tags","blobs_url":"https://api.github.com/repos/glogiotatidis/bedrock/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/glogiotatidis/bedrock/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/glogiotatidis/bedrock/git/refs{/sha}","trees_url":"https://api.github.com/repos/glogiotatidis/bedrock/git/trees{/sha}","statuses_url":"https://api.github.com/repos/glogiotatidis/bedrock/statuses/{sha}","languages_url":"https://api.github.com/repos/glogiotatidis/bedrock/languages","stargazers_url":"https://api.github.com/repos/glogiotatidis/bedrock/stargazers","contributors_url":"https://api.github.com/repos/glogiotatidis/bedrock/contributors","subscribers_url":"https://api.github.com/repos/glogiotatidis/bedrock/subscribers","subscription_url":"https://api.github.com/repos/glogiotatidis/bedrock/subscription","commits_url":"https://api.github.com/repos/glogiotatidis/bedrock/commits{/sha}","git_commits_url":"https://api.github.com/repos/glogiotatidis/bedrock/git/commits{/sha}","comments_url":"https://api.github.com/repos/glogiotatidis/bedrock/comments{/number}","issue_comment_url":"https://api.github.com/repos/glogiotatidis/bedrock/issues/comments{/number}","contents_url":"https://api.github.com/repos/glogiotatidis/bedrock/contents/{+path}","compare_url":"https://api.github.com/repos/glogiotatidis/bedrock/compare/{base}...{head}","merges_url":"https://api.github.com/repos/glogiotatidis/bedrock/merges","archive_url":"https://api.github.com/repos/glogiotatidis/bedrock/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/glogiotatidis/bedrock/downloads","issues_url":"https://api.github.com/repos/glogiotatidis/bedrock/issues{/number}","pulls_url":"https://api.github.com/repos/glogiotatidis/bedrock/pulls{/number}","milestones_url":"https://api.github.com/repos/glogiotatidis/bedrock/milestones{/number}","notifications_url":"https://api.github.com/repos/glogiotatidis/bedrock/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/glogiotatidis/bedrock/labels{/name}","releases_url":"https://api.github.com/repos/glogiotatidis/bedrock/releases{/id}","created_at":"2012-05-22T10:03:55Z","updated_at":"2015-08-27T07:52:47Z","pushed_at":"2015-09-03T09:09:51Z","git_url":"git://github.com/glogiotatidis/bedrock.git","ssh_url":"git@github.com:glogiotatidis/bedrock.git","clone_url":"https://github.com/glogiotatidis/bedrock.git","svn_url":"https://github.com/glogiotatidis/bedrock","homepage":"http://mozilla.org","size":339928,"stargazers_count":1,"watchers_count":1,"language":"HTML","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"mozilla:master","ref":"master","sha":"506b36725c8fecebdb892005a2729a7b81065cef","user":{"login":"mozilla","id":131524,"avatar_url":"https://avatars.githubusercontent.com/u/131524?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"repo":{"id":1616665,"name":"bedrock","full_name":"mozilla/bedrock","owner":{"login":"mozilla","id":131524,"avatar_url":"https://avatars.githubusercontent.com/u/131524?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mozilla/bedrock","description":"Making mozilla.org awesome, one pebble at a time","fork":false,"url":"https://api.github.com/repos/mozilla/bedrock","forks_url":"https://api.github.com/repos/mozilla/bedrock/forks","keys_url":"https://api.github.com/repos/mozilla/bedrock/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mozilla/bedrock/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mozilla/bedrock/teams","hooks_url":"https://api.github.com/repos/mozilla/bedrock/hooks","issue_events_url":"https://api.github.com/repos/mozilla/bedrock/issues/events{/number}","events_url":"https://api.github.com/repos/mozilla/bedrock/events","assignees_url":"https://api.github.com/repos/mozilla/bedrock/assignees{/user}","branches_url":"https://api.github.com/repos/mozilla/bedrock/branches{/branch}","tags_url":"https://api.github.com/repos/mozilla/bedrock/tags","blobs_url":"https://api.github.com/repos/mozilla/bedrock/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mozilla/bedrock/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mozilla/bedrock/git/refs{/sha}","trees_url":"https://api.github.com/repos/mozilla/bedrock/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mozilla/bedrock/statuses/{sha}","languages_url":"https://api.github.com/repos/mozilla/bedrock/languages","stargazers_url":"https://api.github.com/repos/mozilla/bedrock/stargazers","contributors_url":"https://api.github.com/repos/mozilla/bedrock/contributors","subscribers_url":"https://api.github.com/repos/mozilla/bedrock/subscribers","subscription_url":"https://api.github.com/repos/mozilla/bedrock/subscription","commits_url":"https://api.github.com/repos/mozilla/bedrock/commits{/sha}","git_commits_url":"https://api.github.com/repos/mozilla/bedrock/git/commits{/sha}","comments_url":"https://api.github.com/repos/mozilla/bedrock/comments{/number}","issue_comment_url":"https://api.github.com/repos/mozilla/bedrock/issues/comments{/number}","contents_url":"https://api.github.com/repos/mozilla/bedrock/contents/{+path}","compare_url":"https://api.github.com/repos/mozilla/bedrock/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mozilla/bedrock/merges","archive_url":"https://api.github.com/repos/mozilla/bedrock/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mozilla/bedrock/downloads","issues_url":"https://api.github.com/repos/mozilla/bedrock/issues{/number}","pulls_url":"https://api.github.com/repos/mozilla/bedrock/pulls{/number}","milestones_url":"https://api.github.com/repos/mozilla/bedrock/milestones{/number}","notifications_url":"https://api.github.com/repos/mozilla/bedrock/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mozilla/bedrock/labels{/name}","releases_url":"https://api.github.com/repos/mozilla/bedrock/releases{/id}","created_at":"2011-04-14T22:57:57Z","updated_at":"2015-08-29T15:13:00Z","pushed_at":"2015-09-03T13:23:00Z","git_url":"git://github.com/mozilla/bedrock.git","ssh_url":"git@github.com:mozilla/bedrock.git","clone_url":"https://github.com/mozilla/bedrock.git","svn_url":"https://github.com/mozilla/bedrock","homepage":"https://www.mozilla.org","size":385716,"stargazers_count":255,"watchers_count":255,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":353,"mirror_url":null,"open_issues_count":19,"forks":353,"open_issues":19,"watchers":255,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mozilla/bedrock/pulls/3272"},"html":{"href":"https://github.com/mozilla/bedrock/pull/3272"},"issue":{"href":"https://api.github.com/repos/mozilla/bedrock/issues/3272"},"comments":{"href":"https://api.github.com/repos/mozilla/bedrock/issues/3272/comments"},"review_comments":{"href":"https://api.github.com/repos/mozilla/bedrock/pulls/3272/comments"},"review_comment":{"href":"https://api.github.com/repos/mozilla/bedrock/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mozilla/bedrock/pulls/3272/commits"},"statuses":{"href":"https://api.github.com/repos/mozilla/bedrock/statuses/4a1256bae4be9cbf2653dc23374134f189169069"}}}}