So I had problems with my images not showing from my ghost instance.

Turned out that they where all pointing to localhost.
I had forgotten to set the url variable in my docker-compose.

Changed it to https://blog.tittaendator.se, but now the page wouldn't load.

After some searches on the Internet I found that you need to add this in the config of / for the server in nginx:

proxy_set_header X-Forwarded-Proto https;

source via this