# Got mix-content error and confused

**URL:** https://meta.discourse.org/t/got-mix-content-error-and-confused/66523
**Category:** WordPress
**Created:** [July 20, 2017, 3:58pm UTC](https://meta.discourse.org/t/got-mix-content-error-and-confused/66523 "2017-07-20T15:58:16Z")
**Posts on this page:** 1
**Showing post:** 12

<div class="post-metadata">

### Author: ![mr8](https://avatars.discourse-cdn.com/v4/letter/m/f9ae1b/32.png) [@mr8](https://meta.discourse.org/u/mr8)
#### Post date: [July 21, 2017, 7:18pm UTC](https://meta.discourse.org/t/got-mix-content-error-and-confused/66523/12 "2017-07-21T19:18:36Z")

</div>

> [@Vencent](#):
>
> By the way, I add SSL by assigning certification to outer Nginx. Guess I have to specify using HTTPS in settings somewhere…

I had a similar problem: [Insecure content from markdown-it-bundle when using https](https://meta.discourse.org/t/insecure-content-from-markdown-it-bundle-when-using-https/66559)

You need to let discourse know you want the SSL version of the site by specifying https in your outer nginx config by adding:

```
proxy_set_header Host $http_host;

```

or

```
proxy_set_header Host https

```

Then just reload nginx and it should work correctly!  
Hope this helps!

---

_[View the full topic](https://meta.discourse.org/t/got-mix-content-error-and-confused/66523)._
