summaryrefslogtreecommitdiff
path: root/issues/genenetwork/http-https.gmi
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2021-12-22 11:49:30 +0300
committerFrederick Muriuki Muriithi2021-12-22 11:49:30 +0300
commit2f56ee37183938270197d9bd968648e65584513c (patch)
tree195c6ca08188a61d1669403c3109de8a96427a7a /issues/genenetwork/http-https.gmi
parent512bc12aaac7189253a62b2be105472a34821263 (diff)
parentbe16a6a7f1a7e2dfa074e858c26ff6a9b6aa86de (diff)
downloadgn-gemtext-2f56ee37183938270197d9bd968648e65584513c.tar.gz
Merge branch 'main' of github.com:genenetwork/gn-gemtext-threads
Diffstat (limited to 'issues/genenetwork/http-https.gmi')
-rw-r--r--issues/genenetwork/http-https.gmi15
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