I’m trying to setup Ghost in our subdirectory, here is the Ghost setup that I used:
{url: "https://rakam.io/blog", server: {host: 0.0.0.0}}
The Server IP is 35.202.68.150, and when I try to run curl http//35.202.68.150/blog, here is the response:
Moved Permanently. Redirecting to https//35.202.68.150/blog/
Also curl https//rakam.io/blog returns the same response. However when I used the following config:
{url: "http://rakam.io/blog", server: {host: 0.0.0.0}}
Ghost runs correctly and http//35.202.68.150/blog/ redirects to http//rakam.io/blog
Is it a bug or how should I configure the Ghost configs to make my blog available at https//rakam.io/blog?
BTW I’m using Docker Ghost image and I expect curl http//35.202.68.150/blog to redirect to https//rakam.io/blog
P.S: I used https// in my URLs because the forum doesn’t allow me to post more than 3 links in a post.