# After activating HTTPS Discourse doesn´t work

**URL:** <https://meta.discourse.org/t/after-activating-https-discourse-doesn-t-work/206907>\
**Category:** Self-hosting\
**Created:** [October 24, 2021, 5:45pm UTC](https://meta.discourse.org/t/after-activating-https-discourse-doesn-t-work/206907 "2021-10-24T17:45:38Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Simon\_Manning](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon_manning/32/198596_2.png) [@Simon\_Manning](https://meta.discourse.org/u/Simon_Manning)\
**Post date:** [October 24, 2021, 6:17pm UTC](https://meta.discourse.org/t/after-activating-https-discourse-doesn-t-work/206907/4 "2021-10-24T18:17:04Z")

</div>

If this is a standard Docker install, you’ll also need to enter the app first.

```plaintext
cd /var/discourse
./launcher enter app

```

Assuming that succeeds, you can print line 46 of the config file with sed:

```plaintext
sed -n '46p' /etc/nginx/conf.d/discourse.conf

```

With the same templates as you and no specific modifications to that config file, I see this:

```plaintext
  return 301 https://discourse.softpress.com$request_uri;

```

---

_[View the full topic](https://meta.discourse.org/t/after-activating-https-discourse-doesn-t-work/206907)._
