Skip to content

Commit

Permalink
Add a note about the db_ssl field in the example config file
Browse files Browse the repository at this point in the history
  • Loading branch information
OrvilleQ committed Nov 3, 2022
1 parent 3f2c1b0 commit 8af54b6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config-example.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,8 @@ db_path: /var/lib/headscale/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
Expand Down

0 comments on commit 8af54b6

Please sign in to comment.