From bb67515f8b8c7b1098836e615b970ba1415ae113 Mon Sep 17 00:00:00 2001 From: jgart Date: Sun, 5 Dec 2021 21:05:48 -0500 Subject: issue: genenetwork: http->https --- issues/genenetwork/http-https.gmi | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 issues/genenetwork/http-https.gmi 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 -- cgit v1.2.3