# Site running already in https, but some images posted are in http

**URL:** https://forum.ghost.org/t/site-running-already-in-https-but-some-images-posted-are-in-http/30077
**Category:** Developer help
**Created:** [May 12, 2022, 10:46am UTC](https://forum.ghost.org/t/site-running-already-in-https-but-some-images-posted-are-in-http/30077 "2022-05-12T10:46:25Z")
**Posts on this page:** 6
**Page:** 1

<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 12, 2022, 10:46am UTC](https://forum.ghost.org/t/site-running-already-in-https-but-some-images-posted-are-in-http/30077/1 "2022-05-12T10:46:25Z")

</div>

my site have already been running with https, but when i add images to a post, **some** of them will appear to be broken, but if i clicked on them, all of them can be loaded and shown.

the featured image in posts are all working fine.

i checked, and found that all those broken images have the link in “http”.

how can i enforce https in all posts images ?

---

<div class="post-metadata">

### Author: ![John](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/john/32/29288_2.png) [@John](https://forum.ghost.org/u/John)
#### Post date: [May 12, 2022, 3:48pm UTC](https://forum.ghost.org/t/site-running-already-in-https-but-some-images-posted-are-in-http/30077/2 "2022-05-12T15:48:24Z")

</div>

Can you post a link to an example of the problem? Should make it easier for people to help 🙂

---

<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 12, 2022, 8:15pm UTC](https://forum.ghost.org/t/site-running-already-in-https-but-some-images-posted-are-in-http/30077/3 "2022-05-12T20:15:24Z")

</div>

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/)

---

<div class="post-metadata">

### Author: ![vikaspotluri123](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/vikaspotluri123/32/24_2.png) [@vikaspotluri123](https://forum.ghost.org/u/vikaspotluri123)
#### Post date: [May 12, 2022, 8:49pm UTC](https://forum.ghost.org/t/site-running-already-in-https-but-some-images-posted-are-in-http/30077/4 "2022-05-12T20:49:39Z")

</div>

Your site is configured with `http://` in the url; it neds to be configured with `https`. If you’re not using docker, run `ghost config set url https://cms.jimz.cc/` and then `ghost restart` in your instance directory

---

<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 12, 2022, 8:57pm UTC](https://forum.ghost.org/t/site-running-already-in-https-but-some-images-posted-are-in-http/30077/5 "2022-05-12T20:57:46Z")

</div>

@vikaspotluri123,  
thanks for the hints.

i’m using the bitnami stack, just checked and it doesn’t have the ghost cli installed.  
in this regard, i’m kind of wondering if this manual operation will break things apart, i’ll go ahead to check the bitnami doc in this, i.e. how to “config url” with the bitnami stack.

thanks and i’ll check to see, and come back for updating what i’ve found.

---

<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:26pm UTC](https://forum.ghost.org/t/site-running-already-in-https-but-some-images-posted-are-in-http/30077/6 "2022-05-13T21:26:32Z")

</div>

issue solved, by following the advise in this post :

> [@Featured Image not load after install SSL Bitnami Apache](https://forum.ghost.org/t/featured-image-not-load-after-install-ssl-bitnami-apache/12482/4):
>
> 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/)
