# SSL on Discourse / DO sub-domain of Heroku hosted domain

**URL:** https://meta.discourse.org/t/ssl-on-discourse-do-sub-domain-of-heroku-hosted-domain/26373
**Category:** Self-hosting
**Created:** [15. März 2015 um 20:31 UTC](https://meta.discourse.org/t/ssl-on-discourse-do-sub-domain-of-heroku-hosted-domain/26373 "2015-03-15T20:31:54Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![riking](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/riking/32/170938_2.png) [@riking](https://meta.discourse.org/u/riking)
#### Post date: [15. März 2015 um 20:36 UTC](https://meta.discourse.org/t/ssl-on-discourse-do-sub-domain-of-heroku-hosted-domain/26373/2 "2015-03-15T20:36:59Z")

</div>

Since you’re using a Digital Ocean docker install, you’ll want to:

- Get a certificate+key pair
- Follow this guide:

> [@Allow SSL / HTTPS for your Discourse Docker setup](https://meta.discourse.org/t/allowing-ssl-for-your-discourse-docker-setup/13847):
>
> This guide is likely out of date as there are now very few reasons not to use the built-in Let’s Encrypt certificate that Just Works. See also: 2023-04-10 @pfaffman says: This is left here mostly for historical purposes. So you’d like to enable SSL for your Docker-based Discourse setup? Let’s do it! This guide assumes you used all the [standard install](https://meta.discourse.org/t/142537?silent=true) defaults – a container configuration file at/var/discourse/containers/app.yml and Discourse docker is installed at: /var/discourse Buy a SS…

---

_[View the full topic](https://meta.discourse.org/t/ssl-on-discourse-do-sub-domain-of-heroku-hosted-domain/26373)._
