summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEd Morley <emorley@mozilla.com>2016-06-08 20:57:26 +0100
committerEd Morley <emorley@mozilla.com>2016-06-08 20:57:26 +0100
commitce86a71de11ae5c8c2c1f78829549e70548721bd (patch)
treea571fc401b5f937ec29272231e9e3c2be08a332c
parent611e49cfeab98d9018ad67da746744620942643b (diff)
downloadserver-side-tls-ce86a71de11ae5c8c2c1f78829549e70548721bd.zip
server-side-tls-ce86a71de11ae5c8c2c1f78829549e70548721bd.tar.gz
server-side-tls-ce86a71de11ae5c8c2c1f78829549e70548721bd.tar.bz2
Remove client-side redirect now GitHub pages support enforcing HTTPS
GitHub pages now support enforcing HTTPS (which has been enabled in #144), so the client-side redirect can now be removed. See: https://help.github.com/articles/securing-your-github-pages-site-with-https/
-rw-r--r--ssl-config-generator/index.html4
1 files changed, 0 insertions, 4 deletions
diff --git a/ssl-config-generator/index.html b/ssl-config-generator/index.html
index 3ed5b61..9651d2a 100644
--- a/ssl-config-generator/index.html
+++ b/ssl-config-generator/index.html
@@ -37,10 +37,6 @@
// isSemVer says "1.0.1 > 1.0.1e" and isOpenSSLSemVer says "1.0.1 < 1.0.1e". isOpenSSLSemVer is needed to accommodate OpenSSL's version grammar
var isOpenSSLSemVer=(function(){var a=/^(<|>|[=!<>]=)?\s*(\d+(?:\.\d+){0,2})([a-z][a-z0-9\-]*)?$/i;function b(e,c){var d=(e+"").match(a);return d?(c?(d[1]||"=="):"")+'"'+(d[2]+".0.0").match(/\d+(?:\.\d+){0,2}/)[0].replace(/(?:^|\.)(\d+)/g,function(g,f){return Array(9-f.length).join(0)+f;})+(d[3]||"")+'"':(c?"==0":1);}return function(e){e=b(e);for(var c,d=1;c=arguments[d++];){if(!(new Function("return "+e+b(c,1)))()){return false;}}return true;};})();
</script>
- <script>
- if (window.location.protocol != "https:")
- window.location.href = "https:" + window.location.href.substring(window.location.protocol.length);
- </script>
<script id="nginx-template" type="text/x-handlebars-template">
<h2>{{server}} {{serverVersion}} | {{securityProfile}} profile | OpenSSL {{opensslVersion}} | <a href="?{{queryString}}">link</a></h2>