Hello. As the title states, I got trouble with a latest ghost fresh install.
With my docker run command being:
docker run --restart="always" -e url=http://blog.morrolinux.it -e GHOST_URL=https://blog.morrolinux.it -e NODE_ENV=production --name blog -p 2368:2368 -v /srv/httpd/ZeroBlog/ghostblog/content/:/var/lib/ghost/content -d ghost
everything runs smoothly (except for a mixed content issue which then leads to the browser not showing posts thumbnails)
So I got suggested to set https url in the env var, but as far as I change the docker run command to:
docker run --restart="always" -e url=https://blog.morrolinux.it -e GHOST_URL=https://blog.morrolinux.it -e NODE_ENV=production --name blog2 -p 2368:2368 -v /srv/httpd/ZeroBlog/ghostblog/content/:/var/lib/ghost/content -d ghost
(simply added an s to make it https)
It becomes impossibile to visit the site, as i get redirected to https://127.0.0.1:2368/
here’s my blog: https://blog.morrolinux.it
ghost 2.14 (latest)
running under docker, nginx frontend