# Ghost defaulting to loading images via HTTP, rather than HTTPS

**URL:** <https://forum.ghost.org/t/ghost-defaulting-to-loading-images-via-http-rather-than-https/18482>\
**Category:** Developer help\
**Created:** [November 24, 2020, 5:49pm UTC](https://forum.ghost.org/t/ghost-defaulting-to-loading-images-via-http-rather-than-https/18482 "2020-11-24T17:49:16Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ploxxer](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/ploxxer/32/10491_2.png) [@Ploxxer](https://forum.ghost.org/u/Ploxxer)\
**Post date:** [November 24, 2020, 5:49pm UTC](https://forum.ghost.org/t/ghost-defaulting-to-loading-images-via-http-rather-than-https/18482/1 "2020-11-24T17:49:16Z")

</div>

If you’re looking for help, please provide information about your environment. If you delete this template and don’t provide any information, your topic will be closed.

If you aren’t running the latest version of Ghost, the first thing we will ask you to do is update to the latest version of Ghost.

- **What’s your URL**? This is the easiest way for others to help you
  - My URL is [https://tcude.net](https://tcude.net)

- **What version of Ghost are you using?** If it’s not the latest, please update Ghost first before opening your topic
  - I am running the latest version of Ghost

And

- How was Ghost installed and configured?
  - Ghost was installed via this article: [How to install & setup Ghost on Ubuntu 20.04 or 22.04](https://ghost.org/docs/install/ubuntu/)

- What Node version, database, OS & browser are you using?
  - Node Version: 12.19.1

- What errors or information do you see in the console?
  - When loading some of my blog posts, I’m able to see an error in the Chrome developer panel containing the following error:

> Mixed Content: The page at ‘(redacted due to limitations on how many links i can add)’ was loaded over HTTPS, but requested an insecure image ‘redacted due to limitations on how many links i can add’. This request has been blocked; the content must be served over HTTPS.

- What steps could someone else take to reproduce the issue you’re having?
  - If you visit my site in Chrome and say, take a look at the blog post of mine, you’ll see that the images in the article don’t actually load due to Chrome’s restriction on HTTPS pages loading content over HTTP.

Does anyone have any troubleshooting tips or ideas on why my images are defaulting to HTTP, rather than HTTPS? I’m not sure why it’s started to do this. If you look at some of my older posts, you can see that the images are loading as they should. I’m not sure what could have changed. I’ve ensured my blog url has been configured to use [https://tcude.net](https://tcude.net).

It’s also worth mentioning that I can confirm that I can directly access the URL for these images via HTTPS

In my nginx configuration, I have two files: tcude.net.conf and tcude.net-ssl.conf. I currently have tcude.net.conf set up in the following manner with the goal of redirecting HTTP traffic to HTTPS:

```
server {
    listen 80;
    listen [::]:80;

    server_name tcude.net;
    return 301 https://$host$request_uri;
}

```

Any suggestions? I’d really like to get my images back to working again

---

<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:** [November 24, 2020, 5:50pm UTC](https://forum.ghost.org/t/ghost-defaulting-to-loading-images-via-http-rather-than-https/18482/2 "2020-11-24T17:50:54Z")

</div>

Hey there! Can you check that your site URL is configured to be `https://tcude.net`? You can do this by running `ghost config get url`. This URL is kind of the source of truth for everything, so it has to be configured with https

---

<div class="post-metadata">

**Author:** ![Ploxxer](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/ploxxer/32/10491_2.png) [@Ploxxer](https://forum.ghost.org/u/Ploxxer)\
**Post date:** [November 24, 2020, 5:51pm UTC](https://forum.ghost.org/t/ghost-defaulting-to-loading-images-via-http-rather-than-https/18482/3 "2020-11-24T17:51:42Z")

</div>

I appreciate the suggestion but what was one of the first things I attempted to troubleshoot with. It does not look to be alleviating my issue

---

<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:** [November 24, 2020, 5:52pm UTC](https://forum.ghost.org/t/ghost-defaulting-to-loading-images-via-http-rather-than-https/18482/4 "2020-11-24T17:52:42Z")

</div>

Did you restart Ghost after updating the url? The admin panel is reporting the url to be http:

[https://tcude.net/ghost/api/v3/admin/site/](https://tcude.net/ghost/api/v3/admin/site/)

---

<div class="post-metadata">

**Author:** ![Ploxxer](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/ploxxer/32/10491_2.png) [@Ploxxer](https://forum.ghost.org/u/Ploxxer)\
**Post date:** [November 24, 2020, 5:56pm UTC](https://forum.ghost.org/t/ghost-defaulting-to-loading-images-via-http-rather-than-https/18482/5 "2020-11-24T17:56:23Z")

</div>

Wow, what a pro! I thought I had restarted the server after trying that step but I guess I didn’t. Thank you for the help 😃

Things seem to be working as they should now!

---

<div class="post-metadata">

**Author:** ![Jeyrce](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/jeyrce/32/29965_2.png) [@Jeyrce](https://forum.ghost.org/u/Jeyrce)\
**Post date:** [April 18, 2024, 1:39pm UTC](https://forum.ghost.org/t/ghost-defaulting-to-loading-images-via-http-rather-than-https/18482/6 "2024-04-18T13:39:03Z")

</div>

I tried `ghost config get url`, it seved as `https`, but the api `https://imseek.cn/ghost/api/v3/admin/site/` still returned `http` yet, why?

---

<div class="post-metadata">

**Author:** ![Cathy\_Sarisky](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/cathy_sarisky/32/25750_2.png) [@Cathy\_Sarisky](https://forum.ghost.org/u/Cathy_Sarisky)\
**Post date:** [April 18, 2024, 1:54pm UTC](https://forum.ghost.org/t/ghost-defaulting-to-loading-images-via-http-rather-than-https/18482/7 "2024-04-18T13:54:41Z")

</div>

I replied on your other thread:

> [@Feature\_image url is http instead of https](https://forum.ghost.org/t/feature-image-url-is-http-instead-of-https/13591/5):
>
> Please don’t bump multiple very old threads to ask the same question. Next time, please make a new thread. Just to confirm before trying to troubleshoot: Did you restart ghost and reload nginx after making any changes?

---

<div class="post-metadata">

**Author:** ![Jeyrce](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/jeyrce/32/29965_2.png) [@Jeyrce](https://forum.ghost.org/u/Jeyrce)\
**Post date:** [April 21, 2024, 12:31am UTC](https://forum.ghost.org/t/ghost-defaulting-to-loading-images-via-http-rather-than-https/18482/8 "2024-04-21T00:31:43Z")

</div>

Thanks, I solved. I’ll add a new post insted of ask in an old post next time.
