diff options
author | jgart | 2021-12-05 21:05:48 -0500 |
---|---|---|
committer | jgart | 2021-12-05 21:05:48 -0500 |
commit | bb67515f8b8c7b1098836e615b970ba1415ae113 (patch) | |
tree | 4a40c1eb865c739df121ed5c6c11c1381a10cbf9 /issues/genenetwork | |
parent | c630ecb79cec6d22562f33566191034f3eaab8c3 (diff) | |
download | gn-gemtext-bb67515f8b8c7b1098836e615b970ba1415ae113.tar.gz |
issue: genenetwork: http->https
Diffstat (limited to 'issues/genenetwork')
-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 |