mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-10-29 04:42:25 -05:00
[feature] Make Let's Encrypt integration an opt-in feature (#368)
This commit is contained in:
parent
ec4357485e
commit
e13718148d
5 changed files with 15 additions and 14 deletions
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue