hydrocarbon
hydrocarbon copied to clipboard
Production URL Redirects
Need to go
http://hydrocarbon.io -> https://hydrocarbon.io
https://hydrocarbon.io -> https://www.hydrocarbon.io
http://www.hydrocarbon.io -> https://www.hydrocarbon.io
This requires use of a container vm on GCP so we can run an individual docker container outside Heroku's LB infra. There is also a bug in the redirectHTTPS
function inside router.go that prevents it from working properly on Heroku - we need to cascade domain information all the way down so it shows up properly.