SSL Let's Encrypt 127.0.0.1 / redirects

Have tried to install Let’s Encrypt certs on two ghost installs and get booted out to 127.0.0.1, with too many redirects.

Have looked at a bunch of solutions, including editing Appache config to include

RequestHeader set X-Forwarded-Proto "https"

Sites are below. I might have done the Appache config wrong, but either way, help much appreciated.

http://34.86.172.166/
http://34.86.211.188/

I’m also having this problem now that I used AWS bitnami to install the Let’s Encrypt certs; I updated my Ghost config file to make sure URL is HTTPS and now everything on my frontend is redirecting to 127.0.0.1 as a result. Very frustrating and buggy code that is setting this stuff up.