# Mixed content for icon using http on https setup

**URL:** https://meta.discourse.org/t/mixed-content-for-icon-using-http-on-https-setup/117367
**Category:** Support
**Created:** [May 10, 2019, 8:57am UTC](https://meta.discourse.org/t/mixed-content-for-icon-using-http-on-https-setup/117367 "2019-05-10T08:57:56Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![jirenius](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jirenius/32/140670_2.png) [@jirenius](https://meta.discourse.org/u/jirenius)
#### Post date: [May 10, 2019, 8:57am UTC](https://meta.discourse.org/t/mixed-content-for-icon-using-http-on-https-setup/117367/1 "2019-05-10T08:57:56Z")

</div>

Thanks for great software!

While I am serving Discourse over _https_, the icon and apple-icon are served from _http_:

```html
<link rel="icon" type="image/png" href="http://forum.resgate.io/uploads/default/optimized/1X/0b59c13d8375cb2633f1fb9aa906299a1ba3e77f_2_32x32.png">
<link rel="apple-touch-icon" type="image/png" href="http://forum.resgate.io/uploads/default/optimized/1X/033a4835ac24c0d54a87dad0b22b2c4146ca0f40_2_180x180.png">

```

Giving the error in Chrome: `Mixed Content: ...`

My setup:

- I use a standard theme. No modifications.
- I use _nginx_ which handles _ssl_ with `proxy_pass http://unix:/var/discourse/shared/standalone/nginx.http.sock:;`
- _nginx_ is configured with: `proxy_set_header Host https;`
- My `app.yml` contains `templates/web.socketed.template.yml` as described [this Meta Discourse HowTo](https://meta.discourse.org/t/running-other-websites-on-the-same-machine-as-discourse/17247)
- I have `Settings - Security - force https` enabled
- I have rerun the `/wizard`, removed the favicon and reuploaded it again.
- I have found no reference to `http://` anywhere in the settings.

I’ve ready other similar posts, but those seems to all been solved with `force https`, but not in my case.

Thanks for help!

---

<div class="post-metadata">

### Author: ![jirenius](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jirenius/32/140670_2.png) [@jirenius](https://meta.discourse.org/u/jirenius)
#### Post date: [May 10, 2019, 10:51am UTC](https://meta.discourse.org/t/mixed-content-for-icon-using-http-on-https-setup/117367/2 "2019-05-10T10:51:32Z")

</div>

UPDATE:

I ran the `/wizard` again, this time uploading all images (not just the _Browser Icon_) again:

- Primary Logo
- Square Logo
- Browser Icon
- Large Icon

Then it started working. Not sure why, but it solved the issue.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [May 10, 2019, 11:20am UTC](https://meta.discourse.org/t/mixed-content-for-icon-using-http-on-https-setup/117367/3 "2019-05-10T11:20:12Z")

</div>


