Add DB_SSLMODE to config page (#812)

* Add DB_SSLMODE to config page

* Add DB_SSLMODE for zh-cn
This commit is contained in:
KT 2020-09-23 10:37:10 -07:00 committed by GitHub
parent 8002b8d436
commit f36d1f9b58
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 0 deletions

View File

@ -189,6 +189,10 @@ Defaults to `5432`.
How many database connections to pool in the process. This value should cover every thread in the process, for this reason, it defaults to the value of `MAX_THREADS`.
#### `DB_SSLMODE`
Postgres's [SSL mode](https://www.postgresql.org/docs/10/libpq-ssl.html). Defaults to `prefer`.
#### `DATABASE_URL`
If provided, takes precedence over `DB_HOST`, `DB_USER`, `DB_NAME`, `DB_PASS` and `DB_PORT`.

View File

@ -78,6 +78,7 @@ Mastodon使用环境变量作为其的配置。
* `DB_NAME`
* `DB_PASS`
* `DB_PORT`
* `DB_SSLMODE`
* `DATABASE_URL`
### Redis {#redis}