Skip to content

Commit b865586

Browse files
committed
docs: fix Postgre DSN sample
See "Table 33.1. SSL Mode Descriptions" in https://www.postgresql.org/docs/12/libpq-ssl.html#LIBPQ-SSL-PROTECTION
1 parent 04394c6 commit b865586

File tree

1 file changed

+1
-1
lines changed
  • user_guide_src/source/database/configuration

1 file changed

+1
-1
lines changed

user_guide_src/source/database/configuration/010.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ class Database extends Config
1010

1111
// Postgre
1212
public array $default = [
13-
'DSN' => 'Postgre://username:password@hostname:5432/database?charset=utf8&connect_timeout=5&sslmode=1',
13+
'DSN' => 'Postgre://username:password@hostname:5432/database?charset=utf8&connect_timeout=5&sslmode=require',
1414
// ...
1515
];
1616

0 commit comments

Comments
 (0)