diff options
-rw-r--r-- | issues/genenetwork/http-https.gmi | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/issues/genenetwork/http-https.gmi b/issues/genenetwork/http-https.gmi new file mode 100644 index 0000000..80306bf --- /dev/null +++ b/issues/genenetwork/http-https.gmi @@ -0,0 +1,15 @@ +# Arthur mentioned last meet that GeneNetwork2 does not redirect http urls to https. + +He'd like http to redirect to https. + +http://genenetwork.org/ -> https://genenetwork.org/ + +# nginx snippet + +``` +if ($scheme = http) { + return 301 https://$server_name$request_uri; +} +``` + +* assigned: pjotr, arthur, jgart |