Add a note about the db_ssl field in the example config file

This commit is contained in:
Orville Q. Song 2022-11-04 01:28:52 +08:00 committed by Kristoffer Dalby
parent 72b9803a08
commit d29d0222af

View file

@ -137,6 +137,8 @@ db_path: ./db.sqlite
# # Postgres config # # Postgres config
# If using a Unix socket to connect to Postgres, set the socket path in the 'host' field and leave 'port' blank. # 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_type: postgres
# db_host: localhost # db_host: localhost
# db_port: 5432 # db_port: 5432