# Featured Image not load after install SSL Bitnami Apache

**URL:** <https://forum.ghost.org/t/featured-image-not-load-after-install-ssl-bitnami-apache/12482>\
**Category:** Installation\
**Created:** [March 6, 2020, 6:53am UTC](https://forum.ghost.org/t/featured-image-not-load-after-install-ssl-bitnami-apache/12482 "2020-03-06T06:53:09Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![deepak36](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/deepak36/32/6351_2.png) [@deepak36](https://forum.ghost.org/u/deepak36)\
**Post date:** [March 6, 2020, 6:53am UTC](https://forum.ghost.org/t/featured-image-not-load-after-install-ssl-bitnami-apache/12482/1 "2020-03-06T06:53:09Z")

</div>

Hi, I have recently create a ghost site on AWS EC2. I use Bitnami Ghost Image to install ghost. This image uses apache for web server. And my ghost cms version is 3.9.0 .

I use Cloudflare for map dns. But proxy is disabled on dns is enabled.

I use Chrome to browser my site.

After installation complete I open ghost website and Admin dashboard. Everything seems right. I create a test post, write some content, add some images and a feature image. Then post it. When I view the post it ok. Everything load perfect.

After that i Install SSL certificate using a command that is provided by [bitnami blog](https://docs.bitnami.com/aws/how-to/generate-install-lets-encrypt-ssl/).

```auto
/opt/bitnami/bncert-tool

```

After that I see the post again that I create previews and also home. Every this load perfect, But feature image is not load both in home page and post page. When I inspect feature post using right click and then inspect, Image URL is starting from http:// not from https:// .

After that I also use a command

```auto
ghost config url https://sharebites.xyz

```

But nothing happen.

Now my config.production.json file settings is like that

```auto
{
  "url": "http://sharebites.xyz",
  "urlSSL": "https://sharebites.xyz",
  "server": {
    "port": 2368,
    "host": "127.0.0.1"
  },
  "database": {
    "client": "..................",
    "connection": {
      "host": "..................",
      "user": "..................t",
      "password": "..................",
      "database": ".................."
    }
  },
  "mail": {
    "transport": "Direct"
  },
  "logging": {
    "transports": [
      "file"
    ]
  },
  "process": "local",
  "paths": {
    "contentPath": "/opt/bitnami/apps/ghost/htdocs/content"
  }
}

```

I remove Database username, password and database name with ‘…’ for security purpose.

Now feature image will load. But my website some time load on SSL and some time not on SSL.

Now feature image address is relative address in inspect. and other post content images still use absolute address with http://

Please help me.

---

<div class="post-metadata">

**Author:** ![MathanKA](https://avatars.discourse-cdn.com/v4/letter/m/f475e1/32.png) [@MathanKA](https://forum.ghost.org/u/MathanKA)\
**Post date:** [March 27, 2020, 12:09am UTC](https://forum.ghost.org/t/featured-image-not-load-after-install-ssl-bitnami-apache/12482/2 "2020-03-27T00:09:28Z")

</div>

@deepak36  
Did you find the solution?  
I am facing same issue. can you help me ?

---

<div class="post-metadata">

**Author:** ![MartinGross](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/martingross/32/10406_2.png) [@MartinGross](https://forum.ghost.org/u/MartinGross)\
**Post date:** [November 19, 2020, 1:41am UTC](https://forum.ghost.org/t/featured-image-not-load-after-install-ssl-bitnami-apache/12482/4 "2020-11-19T01:41:39Z")

</div>

Hi,

you need to set  
`RequestHeader set X-Forwarded-Proto "https"`  
in your Apache configuration.

Have a look at

- [GitHub - bitnami/vms: Bitnami VMs](https://community.bitnami.com/t/how-to-get-https-working-80-redirect-loop-issues-resolved-ghost-gcp/55867) or
- [How to setup HTTPS on your Ghost blog and avoid redirect loop](https://mrvautin.com/how-to-setup-https-on-your-ghost-blog-without-redirect-loop/)

---

<div class="post-metadata">

**Author:** ![jimzcc](https://avatars.discourse-cdn.com/v4/letter/j/a9a28c/32.png) [@jimzcc](https://forum.ghost.org/u/jimzcc)\
**Post date:** [May 13, 2022, 9:24pm UTC](https://forum.ghost.org/t/featured-image-not-load-after-install-ssl-bitnami-apache/12482/5 "2022-05-13T21:24:55Z")

</div>

hi @deepak36,  
my case is very similar to yours, but my site can always do https, including the feature image, but all other images in the post body content will be shown in http. very strange.

i have followed the links provided by @MartinGross , and it did help ~

just that the path to “httpd-app.conf” should be :

```auto
/opt/bitnami/apps/letsencrypt/conf/httpd-app.conf

```

and it now works for me. hope this will also solve yours ~

my post asking for help in this issue :

> [@Site running already in https, but some images posted are in http](https://forum.ghost.org/t/site-running-already-in-https-but-some-images-posted-are-in-http/30077/3):
>
> hi @john, thanks for the reminder, and here are some of the example posts : [https://cms.jimz.cc/20100109-trying-new-beds/](https://cms.jimz.cc/20100109-trying-new-beds/)[https://cms.jimz.cc/20100115-dallmo-drunk/](https://cms.jimz.cc/20100115-dallmo-drunk/)
