ContextInstitute / bfcom

http://bfn.context.org
GNU General Public License v3.0
4 stars 1 forks source link

Make the local dev sites automatically https #19

Closed rgilman closed 6 years ago

rgilman commented 6 years ago

The shared dev site on Digital Ocean is all https but that isn't currently translating into my local dev site. I'd like to make the local dev site automatically also https.

iangilman commented 6 years ago

I don't know that it's possible to set up HTTPS locally…

rgilman commented 6 years ago

The dev environment that I'm currently using in place of MAMP – Local by Flywheel – provides you with an local cert to do this. If I set siteurl and home to https://rcg.context.dev then the main pages of the site are automatically https but it looks like the forum pages aren't and other may not be as well.

It's probably not a big deal to have it https but I'm just trying to have the dev setup match what we will likely have in production. I'm just looking for an easy way to do this rather than hacking the database.

rgilman commented 6 years ago

On second look, it looks like the forum pages are https so changing siteurl and home may be all that's needed.

I'm happy to leave it at that for now.

iangilman commented 6 years ago

Neat! I learn something new everyday. ;)