Ghost, DigitalOcean, SSL, and infinite redirects


#1

I’m brand new to Ghost after using Wordpress for a long time. So I’m still learning. I created an account on DigitalOcean, got everything setup and running just fine, and pointed my domain (aaronrosspowell.com) there. But I’m running into an issue with getting it running on https.

I followed tutorials, and it all seemed to be working. I can load the site at http://aaronrosspowell.com and https://aaronrosspowell.com. But, in the Ghost admin, if I try to change the navigation links to include “https” instead of “http,” they automatically reset to “http” upon clicking away from the field.

Alternatively, I tried using “ghost config url” in the CLI to change the site’s default url from “http…” to “https…”. However, upon doing that and restarting Ghost, any time I try to load a page, it gets stuck in an infinite redirect loop. Resetting the ghost url to “http…” fixes that.

Can anyone help? I’ve been searching both Ghost and DigitalOcean documentation and can’t figure it out.

Thank you!


#2

Try to also clear your browser’s cached files and cookies when you make the change to https in the config (and that should be the correct setup anyways), the 500 errors can come from that as well.


closed #3

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.