FNNDSC / website-old

ChRIS Project Website
https://chrisproject.org
MIT License
5 stars 12 forks source link

ChRIS website should use https by default #26

Closed mairin closed 2 years ago

mairin commented 3 years ago

HTTP/HTTPS: If the main site is entered as ChrisProject.org is used, the HTTP site is used rather than HTTPS. (Google gives higher rankings to sites that use HTTPS.)

see https://github.com/FNNDSC/website/issues/20

iranzo commented 3 years ago

Can you just put in the DNS to do the upgrade? when using, for example cloudflare as DNS management it can allow, in the free tier, to do a rewrite rule to upgrade to https.

kobi86 commented 3 years ago

Hi @mairin, Where the site is hosted? I mean, if its on IIS then just disable the HTTP if its on Nginx then you need some configuration changes :) We can have a session and talk about this if you want :)

jfargen commented 3 years ago

The site is hosted on github.io. This doc, show how https can be enforced, but any links referncing http://chrisproject.org will also need to be updated just prior/during to the change.

iranzo commented 3 years ago

If you're in control of the DNS, and don't mind moving it to CloudFlare, and have cloudflare point back to GH pages, you can get http and https working.

All links should be on the site rewritten to be protocol agnostic using the "//" in front instead of specifying the protocol so that both versions should work.

But, still, CF will do the https upgrade on http connections

jfargen commented 3 years ago

Pablo, my first recommendation is Cloudflare, but also trying to be flexible and provide solutions within the current architecture. I've also pointed out other benefits of Cloud Flare like the CDN with 200+ points of presence along with the site Analytics.

mairin commented 2 years ago

This work is complete, closing the ticket. Thanks to everyone who helped us out!