# Fresh install without lets-encrypt on docker

**URL:** https://meta.discourse.org/t/fresh-install-without-lets-encrypt-on-docker/401632
**Category:** Self-hosting
**Tags:** docker, letsencrypt
**Created:** [April 27, 2026, 6:01pm UTC](https://meta.discourse.org/t/fresh-install-without-lets-encrypt-on-docker/401632 "2026-04-27T18:01:58Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![josir](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/josir/32/552440_2.png) [@josir](https://meta.discourse.org/u/josir)
#### Post date: [April 27, 2026, 6:01pm UTC](https://meta.discourse.org/t/fresh-install-without-lets-encrypt-on-docker/401632/1 "2026-04-27T18:01:58Z")

</div>

Hi folks,

I am trying a fresh install but I have an external nginx that manage all my certificates. How can I disable the ssl/letsencrypt option on docker?

> [@Allow SSL / HTTPS for your Discourse Docker setup](https://meta.discourse.org/t/allow-ssl-https-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…

---

<div class="post-metadata">

### Author: ![josir](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/josir/32/552440_2.png) [@josir](https://meta.discourse.org/u/josir)
#### Post date: [April 29, 2026, 7:39pm UTC](https://meta.discourse.org/t/fresh-install-without-lets-encrypt-on-docker/401632/2 "2026-04-29T19:39:44Z")

</div>

Just to document the solution I found. In order to disable letsencrypt and ssl inside docker, just comment

```plaintext
templates:
  - templates/postgres.template.yml
  - templates/redis.template.yml
  - templates/web.template.yml
    # - templates/web.ratelimited.template.yml
    # - templates/web.ssl.template.yml
    # - templates/web.letsencrypt.ssl.template.yml

```

---

<div class="post-metadata">

### Author: ![ToddZ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/toddz/32/328350_2.png) [@ToddZ](https://meta.discourse.org/u/ToddZ)
#### Post date: [April 29, 2026, 10:43pm UTC](https://meta.discourse.org/t/fresh-install-without-lets-encrypt-on-docker/401632/3 "2026-04-29T22:43:19Z")

</div>

Welcome, josir, and thanks for sharing your solution! I’ll mark this as “Solved” but there will still be some time to reply if you run into anything else.

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [May 29, 2026, 10:43pm UTC](https://meta.discourse.org/t/fresh-install-without-lets-encrypt-on-docker/401632/4 "2026-05-29T22:43:24Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
