# Png favicon verschijnt niet in Chrome (Mixed content error)

**URL:** https://meta.discourse.org/t/png-favicon-not-appearing-in-chrome-mixed-content-error/200977
**Category:** Support
**Created:** [19 augustus 2021 om 15:01 UTC](https://meta.discourse.org/t/png-favicon-not-appearing-in-chrome-mixed-content-error/200977 "2021-08-19T15:01:20Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![bsoares](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bsoares/32/231482_2.png) [@bsoares](https://meta.discourse.org/u/bsoares)
#### Post date: [19 augustus 2021 om 15:01 UTC](https://meta.discourse.org/t/png-favicon-not-appearing-in-chrome-mixed-content-error/200977/1 "2021-08-19T15:01:20Z")

</div>

Hi,  
The 32x32 favicon that I uploaded into a https locally hosted discourse is going into the HTML with

```plaintext
<link rel="icon" type="image/png" href="http://discourse.jalview.org/uploads/default/optimized/1X/c29815ed01e3ce7d1cc583ccc9feaada4bae5d4b_2_32x32.png">

```

and you can see the problem in Chrome:  
 ![image](https://global.discourse-cdn.com/meta/optimized/3X/e/a/eab9bf7d10afd8d9e1a07af0a06c40523637b143_2_690x61.png)  
and

 ![image](https://global.discourse-cdn.com/meta/original/3X/3/7/377bc0c40b3e6374d13c7ee50f845dcdc1790933.png)

Is there a way to force this to be an https URL?

Thank you!  
Ben

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [19 augustus 2021 om 15:04 UTC](https://meta.discourse.org/t/png-favicon-not-appearing-in-chrome-mixed-content-error/200977/2 "2021-08-19T15:04:48Z")

</div>

> [@bsoares](#):
>
> Is there a way to force this to be an https URL?

Yes, and it is enabled by default when you setup a new Discourse install using a proper domain. If it failed, or this an old install you can ssh and:

```plaintext
cd /var/discourse
./launcher enter app
rails c
SiteSetting.force_https = true

```

---

<div class="post-metadata">

### Author: ![bsoares](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bsoares/32/231482_2.png) [@bsoares](https://meta.discourse.org/u/bsoares)
#### Post date: [19 augustus 2021 om 16:26 UTC](https://meta.discourse.org/t/png-favicon-not-appearing-in-chrome-mixed-content-error/200977/3 "2021-08-19T16:26:35Z")

</div>

@Falco Thanks that has fixed it.  
The local discourse is behind a reverse proxy and so the actual install probably wan’t running as https when first installed.
