diff options
author | Frederick Muriuki Muriithi | 2021-12-22 11:49:30 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2021-12-22 11:49:30 +0300 |
commit | 2f56ee37183938270197d9bd968648e65584513c (patch) | |
tree | 195c6ca08188a61d1669403c3109de8a96427a7a /issues/genenetwork/http-https.gmi | |
parent | 512bc12aaac7189253a62b2be105472a34821263 (diff) | |
parent | be16a6a7f1a7e2dfa074e858c26ff6a9b6aa86de (diff) | |
download | gn-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.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 |