Update sslmode options in config template. (#433)

This commit is contained in:
Bernd Storath 2024-06-10 16:09:34 +02:00 committed by GitHub
parent a0abd4a4bb
commit 880b319bfd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -29,10 +29,9 @@ pub fn run() {
# Format example: postgres://<USERNAME>:<PASSWORD>@<HOSTNAME>/<DATABASE>?sslmode=<SSLMODE>.
#
# SSL mode options:
# * disable - no SSL
# * require - Always SSL (skip verification)
# * verify-ca - Always SSL (verify that the certificate presented by the server was signed by a trusted CA)
# * verify-full - Always SSL (verify that the certification presented by the server was signed by a trusted CA and the server host name matches the one in the certificate)
# * disable - Do not use TLS
# * prefer - Attempt to connect with TLS but allow sessions without
# * require - Require the use of TLS
dsn="{{ postgresql.dsn }}"
# Max open connections.