# Http logo urls after enabling LetsEncrypt

**URL:** <https://meta.discourse.org/t/http-logo-urls-after-enabling-letsencrypt/108261>\
**Category:** Self-hosting\
**Created:** [February 3, 2019, 8:12pm UTC](https://meta.discourse.org/t/http-logo-urls-after-enabling-letsencrypt/108261 "2019-02-03T20:12:54Z")\
**Posts on this page:** 1\
**Showing post:** 15

<div class="post-metadata">

**Author:** ![neounix](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/neounix/32/215617_2.png) [@neounix](https://meta.discourse.org/u/neounix)\
**Post date:** [April 16, 2020, 6:13am UTC](https://meta.discourse.org/t/http-logo-urls-after-enabling-letsencrypt/108261/15 "2020-04-16T06:13:05Z")

</div>

I had a similar problem after moving to a two container configuration with nginx as the front end reverse proxy to a unix domain socket.

Everything works perfectly except that discourse was not changing http to https in the source and nginx does not rewrite / redirect this.

After a lot of digging around a days of trial and error, I finally found this command line setting:

```plaintext
cd /var/discourse
./launcher enter socket-only
rails c
SiteSetting.force_https = true

```

and verified:

```plaintext
postgres=# \c discourse
You are now connected to database "discourse" as user "postgres".
discourse=# select * from site_settings where name like '%http%';
 id | name | data_type | value | created_at | updated_at         
----+-------------+-----------+-------+----------------------------+----------------------------
 79 | force_https | 5 | t | 2020-04-16 05:51:13.165124 | 2020-04-16 05:51:13.165124
(1 row)

discourse=# \q

```

Then, I restarted:

```plaintext
./launcher restart socket-only

```

BOOM.

It worked, finally after days of head scratching and trial and error, wondering why every tutorial, howto and readme on the wild, wild net did not work flawlessly.

Now, setting `force_https = true` , it worked flawlessly 🙂

This must be like a hidden jewel in a video game and only gamers who find the hidden power can move on to the next level !! LOL. I’m there! A new discourse superpower!

---

_[View the full topic](https://meta.discourse.org/t/http-logo-urls-after-enabling-letsencrypt/108261)._
