{"action":"created","comment":{"url":"https://api.github.com/repos/pantheon-systems/documentation/pulls/comments/42175152","id":42175152,"diff_hunk":"@@ -108,22 +108,22 @@ To use SSL everywhere and standardize on your domain, combine this kind of logic\n       }\n     }\n \n-### Require SSL Everywhere Except Specific Pages\n+### Require HTTPS Everywhere Except Specific Pages\n \n-To use SSL for everything except some specific pages, such as an RSS feed:\n+To use HTTPS for everything except some specific pages, such as an RSS feed:\n \n-    // SSL logic.\n+    // HTTPS logic.\n     $redirect_domain = 'www.yoursite.com';\n     if (isset($_SERVER['PANTHEON_ENVIRONMENT']) && $_SERVER['PANTHEON_ENVIRONMENT'] == 'live') {\n       $redirect_location = '';\n-      // Do not require SSL for specific pages.\n+      // Do not require HTTPS for specific pages.\n       if (in_array($_SERVER['REQUEST_URI'], array('/rss.xml'))) {\n-        // Check if SSL is enabled.\n+        // Check if HTTPS is enabled.\n         if (isset($_SERVER['HTTP_X_SSL']) && $_SERVER['HTTP_X_SSL'] == 'ON') {\n           $redirect_location = 'http://' . $redirect_domain . $_SERVER['REQUEST_URI'];\n         }\n       }\n-      // Require SSL for everything else.\n+      // Require HTTPS for everything else.\n       else if (!isset($_SERVER['HTTP_X_SSL']) || $_SERVER['HTTP_X_SSL'] != 'ON') {","path":"source/docs/articles/sites/code/redirect-incoming-requests.md","position":72,"original_position":72,"commit_id":"604ca214818be7af25bacc22f925c78ddf1c273b","original_commit_id":"604ca214818be7af25bacc22f925c78ddf1c273b","user":{"login":"davidstrauss","id":113350,"avatar_url":"https://avatars.githubusercontent.com/u/113350?v=3","gravatar_id":"","url":"https://api.github.com/users/davidstrauss","html_url":"https://github.com/davidstrauss","followers_url":"https://api.github.com/users/davidstrauss/followers","following_url":"https://api.github.com/users/davidstrauss/following{/other_user}","gists_url":"https://api.github.com/users/davidstrauss/gists{/gist_id}","starred_url":"https://api.github.com/users/davidstrauss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidstrauss/subscriptions","organizations_url":"https://api.github.com/users/davidstrauss/orgs","repos_url":"https://api.github.com/users/davidstrauss/repos","events_url":"https://api.github.com/users/davidstrauss/events{/privacy}","received_events_url":"https://api.github.com/users/davidstrauss/received_events","type":"User","site_admin":false},"body":" $_SERVER['HTTPS']","created_at":"2015-10-15T20:23:16Z","updated_at":"2015-10-15T20:23:16Z","html_url":"https://github.com/pantheon-systems/documentation/pull/984#discussion_r42175152","pull_request_url":"https://api.github.com/repos/pantheon-systems/documentation/pulls/984","_links":{"self":{"href":"https://api.github.com/repos/pantheon-systems/documentation/pulls/comments/42175152"},"html":{"href":"https://github.com/pantheon-systems/documentation/pull/984#discussion_r42175152"},"pull_request":{"href":"https://api.github.com/repos/pantheon-systems/documentation/pulls/984"}}},"pull_request":{"url":"https://api.github.com/repos/pantheon-systems/documentation/pulls/984","id":46200513,"html_url":"https://github.com/pantheon-systems/documentation/pull/984","diff_url":"https://github.com/pantheon-systems/documentation/pull/984.diff","patch_url":"https://github.com/pantheon-systems/documentation/pull/984.patch","issue_url":"https://api.github.com/repos/pantheon-systems/documentation/issues/984","number":984,"state":"open","locked":false,"title":"476 remove ssl","user":{"login":"nataliejeremy","id":9138609,"avatar_url":"https://avatars.githubusercontent.com/u/9138609?v=3","gravatar_id":"","url":"https://api.github.com/users/nataliejeremy","html_url":"https://github.com/nataliejeremy","followers_url":"https://api.github.com/users/nataliejeremy/followers","following_url":"https://api.github.com/users/nataliejeremy/following{/other_user}","gists_url":"https://api.github.com/users/nataliejeremy/gists{/gist_id}","starred_url":"https://api.github.com/users/nataliejeremy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nataliejeremy/subscriptions","organizations_url":"https://api.github.com/users/nataliejeremy/orgs","repos_url":"https://api.github.com/users/nataliejeremy/repos","events_url":"https://api.github.com/users/nataliejeremy/events{/privacy}","received_events_url":"https://api.github.com/users/nataliejeremy/received_events","type":"User","site_admin":false},"body":"Connected to #476 @davidstrauss  Can you review and let me know if I'm on the right track with this?\r\nTBD: \r\n- PR on the Dashboard repo to change the Domains / SSL tab to Domains and the SSL tab to HTTPS.\r\n- Push 16 more files with changes to remove \"SSL\" and replace with \"HTTPS\"\r\n- redirect from https://pantheon.io/docs/articles/sites/domains/developing-with-ssl/ to https://pantheon.io/docs/articles/sites/domains/developing-with-https/\r\n","created_at":"2015-09-28T19:57:15Z","updated_at":"2015-10-15T20:23:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":"763f02cc82c04ab371765010996eb0e8fce5dae1","assignee":{"login":"nataliejeremy","id":9138609,"avatar_url":"https://avatars.githubusercontent.com/u/9138609?v=3","gravatar_id":"","url":"https://api.github.com/users/nataliejeremy","html_url":"https://github.com/nataliejeremy","followers_url":"https://api.github.com/users/nataliejeremy/followers","following_url":"https://api.github.com/users/nataliejeremy/following{/other_user}","gists_url":"https://api.github.com/users/nataliejeremy/gists{/gist_id}","starred_url":"https://api.github.com/users/nataliejeremy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nataliejeremy/subscriptions","organizations_url":"https://api.github.com/users/nataliejeremy/orgs","repos_url":"https://api.github.com/users/nataliejeremy/repos","events_url":"https://api.github.com/users/nataliejeremy/events{/privacy}","received_events_url":"https://api.github.com/users/nataliejeremy/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/pantheon-systems/documentation/pulls/984/commits","review_comments_url":"https://api.github.com/repos/pantheon-systems/documentation/pulls/984/comments","review_comment_url":"https://api.github.com/repos/pantheon-systems/documentation/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pantheon-systems/documentation/issues/984/comments","statuses_url":"https://api.github.com/repos/pantheon-systems/documentation/statuses/604ca214818be7af25bacc22f925c78ddf1c273b","head":{"label":"pantheon-systems:476-remove-ssl","ref":"476-remove-ssl","sha":"604ca214818be7af25bacc22f925c78ddf1c273b","user":{"login":"pantheon-systems","id":513357,"avatar_url":"https://avatars.githubusercontent.com/u/513357?v=3","gravatar_id":"","url":"https://api.github.com/users/pantheon-systems","html_url":"https://github.com/pantheon-systems","followers_url":"https://api.github.com/users/pantheon-systems/followers","following_url":"https://api.github.com/users/pantheon-systems/following{/other_user}","gists_url":"https://api.github.com/users/pantheon-systems/gists{/gist_id}","starred_url":"https://api.github.com/users/pantheon-systems/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pantheon-systems/subscriptions","organizations_url":"https://api.github.com/users/pantheon-systems/orgs","repos_url":"https://api.github.com/users/pantheon-systems/repos","events_url":"https://api.github.com/users/pantheon-systems/events{/privacy}","received_events_url":"https://api.github.com/users/pantheon-systems/received_events","type":"Organization","site_admin":false},"repo":{"id":26826032,"name":"documentation","full_name":"pantheon-systems/documentation","owner":{"login":"pantheon-systems","id":513357,"avatar_url":"https://avatars.githubusercontent.com/u/513357?v=3","gravatar_id":"","url":"https://api.github.com/users/pantheon-systems","html_url":"https://github.com/pantheon-systems","followers_url":"https://api.github.com/users/pantheon-systems/followers","following_url":"https://api.github.com/users/pantheon-systems/following{/other_user}","gists_url":"https://api.github.com/users/pantheon-systems/gists{/gist_id}","starred_url":"https://api.github.com/users/pantheon-systems/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pantheon-systems/subscriptions","organizations_url":"https://api.github.com/users/pantheon-systems/orgs","repos_url":"https://api.github.com/users/pantheon-systems/repos","events_url":"https://api.github.com/users/pantheon-systems/events{/privacy}","received_events_url":"https://api.github.com/users/pantheon-systems/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pantheon-systems/documentation","description":"Pantheon Docs","fork":false,"url":"https://api.github.com/repos/pantheon-systems/documentation","forks_url":"https://api.github.com/repos/pantheon-systems/documentation/forks","keys_url":"https://api.github.com/repos/pantheon-systems/documentation/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pantheon-systems/documentation/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pantheon-systems/documentation/teams","hooks_url":"https://api.github.com/repos/pantheon-systems/documentation/hooks","issue_events_url":"https://api.github.com/repos/pantheon-systems/documentation/issues/events{/number}","events_url":"https://api.github.com/repos/pantheon-systems/documentation/events","assignees_url":"https://api.github.com/repos/pantheon-systems/documentation/assignees{/user}","branches_url":"https://api.github.com/repos/pantheon-systems/documentation/branches{/branch}","tags_url":"https://api.github.com/repos/pantheon-systems/documentation/tags","blobs_url":"https://api.github.com/repos/pantheon-systems/documentation/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pantheon-systems/documentation/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pantheon-systems/documentation/git/refs{/sha}","trees_url":"https://api.github.com/repos/pantheon-systems/documentation/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pantheon-systems/documentation/statuses/{sha}","languages_url":"https://api.github.com/repos/pantheon-systems/documentation/languages","stargazers_url":"https://api.github.com/repos/pantheon-systems/documentation/stargazers","contributors_url":"https://api.github.com/repos/pantheon-systems/documentation/contributors","subscribers_url":"https://api.github.com/repos/pantheon-systems/documentation/subscribers","subscription_url":"https://api.github.com/repos/pantheon-systems/documentation/subscription","commits_url":"https://api.github.com/repos/pantheon-systems/documentation/commits{/sha}","git_commits_url":"https://api.github.com/repos/pantheon-systems/documentation/git/commits{/sha}","comments_url":"https://api.github.com/repos/pantheon-systems/documentation/comments{/number}","issue_comment_url":"https://api.github.com/repos/pantheon-systems/documentation/issues/comments{/number}","contents_url":"https://api.github.com/repos/pantheon-systems/documentation/contents/{+path}","compare_url":"https://api.github.com/repos/pantheon-systems/documentation/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pantheon-systems/documentation/merges","archive_url":"https://api.github.com/repos/pantheon-systems/documentation/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pantheon-systems/documentation/downloads","issues_url":"https://api.github.com/repos/pantheon-systems/documentation/issues{/number}","pulls_url":"https://api.github.com/repos/pantheon-systems/documentation/pulls{/number}","milestones_url":"https://api.github.com/repos/pantheon-systems/documentation/milestones{/number}","notifications_url":"https://api.github.com/repos/pantheon-systems/documentation/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pantheon-systems/documentation/labels{/name}","releases_url":"https://api.github.com/repos/pantheon-systems/documentation/releases{/id}","created_at":"2014-11-18T19:26:21Z","updated_at":"2015-10-12T15:30:55Z","pushed_at":"2015-10-15T18:40:04Z","git_url":"git://github.com/pantheon-systems/documentation.git","ssh_url":"git@github.com:pantheon-systems/documentation.git","clone_url":"https://github.com/pantheon-systems/documentation.git","svn_url":"https://github.com/pantheon-systems/documentation","homepage":"https://pantheon.io/docs","size":91618,"stargazers_count":29,"watchers_count":29,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":91,"mirror_url":null,"open_issues_count":72,"forks":91,"open_issues":72,"watchers":29,"default_branch":"master"}},"base":{"label":"pantheon-systems:master","ref":"master","sha":"7b7426ee3aba00cd3667bed7bfb38a4db8bf0cf4","user":{"login":"pantheon-systems","id":513357,"avatar_url":"https://avatars.githubusercontent.com/u/513357?v=3","gravatar_id":"","url":"https://api.github.com/users/pantheon-systems","html_url":"https://github.com/pantheon-systems","followers_url":"https://api.github.com/users/pantheon-systems/followers","following_url":"https://api.github.com/users/pantheon-systems/following{/other_user}","gists_url":"https://api.github.com/users/pantheon-systems/gists{/gist_id}","starred_url":"https://api.github.com/users/pantheon-systems/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pantheon-systems/subscriptions","organizations_url":"https://api.github.com/users/pantheon-systems/orgs","repos_url":"https://api.github.com/users/pantheon-systems/repos","events_url":"https://api.github.com/users/pantheon-systems/events{/privacy}","received_events_url":"https://api.github.com/users/pantheon-systems/received_events","type":"Organization","site_admin":false},"repo":{"id":26826032,"name":"documentation","full_name":"pantheon-systems/documentation","owner":{"login":"pantheon-systems","id":513357,"avatar_url":"https://avatars.githubusercontent.com/u/513357?v=3","gravatar_id":"","url":"https://api.github.com/users/pantheon-systems","html_url":"https://github.com/pantheon-systems","followers_url":"https://api.github.com/users/pantheon-systems/followers","following_url":"https://api.github.com/users/pantheon-systems/following{/other_user}","gists_url":"https://api.github.com/users/pantheon-systems/gists{/gist_id}","starred_url":"https://api.github.com/users/pantheon-systems/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pantheon-systems/subscriptions","organizations_url":"https://api.github.com/users/pantheon-systems/orgs","repos_url":"https://api.github.com/users/pantheon-systems/repos","events_url":"https://api.github.com/users/pantheon-systems/events{/privacy}","received_events_url":"https://api.github.com/users/pantheon-systems/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pantheon-systems/documentation","description":"Pantheon Docs","fork":false,"url":"https://api.github.com/repos/pantheon-systems/documentation","forks_url":"https://api.github.com/repos/pantheon-systems/documentation/forks","keys_url":"https://api.github.com/repos/pantheon-systems/documentation/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pantheon-systems/documentation/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pantheon-systems/documentation/teams","hooks_url":"https://api.github.com/repos/pantheon-systems/documentation/hooks","issue_events_url":"https://api.github.com/repos/pantheon-systems/documentation/issues/events{/number}","events_url":"https://api.github.com/repos/pantheon-systems/documentation/events","assignees_url":"https://api.github.com/repos/pantheon-systems/documentation/assignees{/user}","branches_url":"https://api.github.com/repos/pantheon-systems/documentation/branches{/branch}","tags_url":"https://api.github.com/repos/pantheon-systems/documentation/tags","blobs_url":"https://api.github.com/repos/pantheon-systems/documentation/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pantheon-systems/documentation/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pantheon-systems/documentation/git/refs{/sha}","trees_url":"https://api.github.com/repos/pantheon-systems/documentation/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pantheon-systems/documentation/statuses/{sha}","languages_url":"https://api.github.com/repos/pantheon-systems/documentation/languages","stargazers_url":"https://api.github.com/repos/pantheon-systems/documentation/stargazers","contributors_url":"https://api.github.com/repos/pantheon-systems/documentation/contributors","subscribers_url":"https://api.github.com/repos/pantheon-systems/documentation/subscribers","subscription_url":"https://api.github.com/repos/pantheon-systems/documentation/subscription","commits_url":"https://api.github.com/repos/pantheon-systems/documentation/commits{/sha}","git_commits_url":"https://api.github.com/repos/pantheon-systems/documentation/git/commits{/sha}","comments_url":"https://api.github.com/repos/pantheon-systems/documentation/comments{/number}","issue_comment_url":"https://api.github.com/repos/pantheon-systems/documentation/issues/comments{/number}","contents_url":"https://api.github.com/repos/pantheon-systems/documentation/contents/{+path}","compare_url":"https://api.github.com/repos/pantheon-systems/documentation/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pantheon-systems/documentation/merges","archive_url":"https://api.github.com/repos/pantheon-systems/documentation/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pantheon-systems/documentation/downloads","issues_url":"https://api.github.com/repos/pantheon-systems/documentation/issues{/number}","pulls_url":"https://api.github.com/repos/pantheon-systems/documentation/pulls{/number}","milestones_url":"https://api.github.com/repos/pantheon-systems/documentation/milestones{/number}","notifications_url":"https://api.github.com/repos/pantheon-systems/documentation/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pantheon-systems/documentation/labels{/name}","releases_url":"https://api.github.com/repos/pantheon-systems/documentation/releases{/id}","created_at":"2014-11-18T19:26:21Z","updated_at":"2015-10-12T15:30:55Z","pushed_at":"2015-10-15T18:40:04Z","git_url":"git://github.com/pantheon-systems/documentation.git","ssh_url":"git@github.com:pantheon-systems/documentation.git","clone_url":"https://github.com/pantheon-systems/documentation.git","svn_url":"https://github.com/pantheon-systems/documentation","homepage":"https://pantheon.io/docs","size":91618,"stargazers_count":29,"watchers_count":29,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":91,"mirror_url":null,"open_issues_count":72,"forks":91,"open_issues":72,"watchers":29,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pantheon-systems/documentation/pulls/984"},"html":{"href":"https://github.com/pantheon-systems/documentation/pull/984"},"issue":{"href":"https://api.github.com/repos/pantheon-systems/documentation/issues/984"},"comments":{"href":"https://api.github.com/repos/pantheon-systems/documentation/issues/984/comments"},"review_comments":{"href":"https://api.github.com/repos/pantheon-systems/documentation/pulls/984/comments"},"review_comment":{"href":"https://api.github.com/repos/pantheon-systems/documentation/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pantheon-systems/documentation/pulls/984/commits"},"statuses":{"href":"https://api.github.com/repos/pantheon-systems/documentation/statuses/604ca214818be7af25bacc22f925c78ddf1c273b"}}}}