summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2022-01-30 14:57:33 +0100
committerLibravatar GitHub <noreply@github.com>2022-01-30 14:57:33 +0100
commite13718148d071b9f340098b61cbe714dc061d989 (patch)
tree0f75047bd7d1d1495854306ad1276aeb8cf95052 /docs
parent[documentation] add ipv6 config for nginx (#367) (diff)
downloadgotosocial-e13718148d071b9f340098b61cbe714dc061d989.tar.xz
[feature] Make Let's Encrypt integration an opt-in feature (#368)
Diffstat (limited to 'docs')
-rw-r--r--docs/configuration/letsencrypt.md8
-rw-r--r--docs/installation_guide/binary.md1
2 files changed, 5 insertions, 4 deletions
diff --git a/docs/configuration/letsencrypt.md b/docs/configuration/letsencrypt.md
index 4e3a6d59b..011ab4690 100644
--- a/docs/configuration/letsencrypt.md
+++ b/docs/configuration/letsencrypt.md
@@ -11,11 +11,11 @@
# Bool. Whether or not letsencrypt should be enabled for the server.
# If false, the rest of the settings here will be ignored.
-# You should only change this if you want to serve GoToSocial behind a reverse proxy
-# like Traefik, HAProxy, or Nginx.
+# If you serve GoToSocial behind a reverse proxy like nginx or traefik, leave this turned off.
+# If you don't, then turn it on so that you can use https.
# Options: [true, false]
-# Default: true
-letsencrypt-enabled: true
+# Default: false
+letsencrypt-enabled: false
# Int. Port to listen for letsencrypt certificate challenges on.
# If letsencrypt is enabled, this port must be reachable or you won't be able to obtain certs.
diff --git a/docs/installation_guide/binary.md b/docs/installation_guide/binary.md
index 64a7e60ee..3bb04603a 100644
--- a/docs/installation_guide/binary.md
+++ b/docs/installation_guide/binary.md
@@ -51,6 +51,7 @@ Now open the file in your text editor of choice so that you can set some importa
- Set `db-type` to `sqlite`.
- Set `db-address` to `sqlite.db`.
- Set `storage-local-base-path` to the storage directory you created above (eg., `/gotosocial/storage`).
+- Set `letsencrypt-enabled` to `true`.
- Set `letsencrypt-cert-dir` to the certificate storage directory you created above (eg., `/gotosocial/storage/certs`).
The above options assume you're using SQLite as your database. If you want to use Postgres instead, see [here](../configuration/database.md) for the config options.