affinityworks/main

custom domain for SL

Closed this issue · 0 comments

Context

Wanted to work together on getting a proper domain for our Affinity instance. Can you set up Heroku to use groups.swingleft.org as the app's custom domain, and make sure Automated Certificate Management is enabled, to generate SSL certificates for that?

Doing so will probably prompt you for some sort of domain verification. Pass that info on to me and I'll verify the domain, I think I can just add some DNS TXT records for that, hopefully.

Then I think all that's left is to double-check the code and make sure it uses relative urls everywhere, or fix any places where it make assumptions about the domain name to use the new subdomain.

And then if you could also make sure that the code enforces the use of https, redirecting people who come in via http urls.

Tasks

  • enable TLS in heroku
  • confirm https enforced
  • change HOSTNAME config var in .env.heroku/______
  • confirm DNS edits w/ client