From d29d0222af9c8d23fa3cbed10c46c8b305a2becb Mon Sep 17 00:00:00 2001 From: "Orville Q. Song" Date: Fri, 4 Nov 2022 01:28:52 +0800 Subject: [PATCH] Add a note about the db_ssl field in the example config file --- config-example.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config-example.yaml b/config-example.yaml index 2028d332..d6c3863f 100644 --- a/config-example.yaml +++ b/config-example.yaml @@ -137,6 +137,8 @@ db_path: ./db.sqlite # # Postgres config # If using a Unix socket to connect to Postgres, set the socket path in the 'host' field and leave 'port' blank. +# Also if other 'sslmode' is required instead of 'require(true)' and 'disabled(false)', set the 'sslmode' you need +# in the 'db_ssl' field. Refers to https://www.postgresql.org/docs/current/libpq-ssl.html Table 34.1. # db_type: postgres # db_host: localhost # db_port: 5432