Skip to content

Commit b140a2c

Browse files
committed
chore: require SSL for PostgreSQL connections in production
1 parent f80419f commit b140a2c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

config/autoload/doctrine.local.production.php.dist

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ return [
3131
'dbname' => getenv('DOCTRINE_DEFAULT_DATABASE'),
3232
'charset' => 'utf8',
3333
'collate' => 'utf8_unicode_ci',
34+
'sslmode' => 'require',
3435
],
3536
],
3637
'orm_report' => [
@@ -55,6 +56,7 @@ return [
5556
'dbname' => getenv('DOCTRINE_REPORT_DATABASE'),
5657
'charset' => 'utf8',
5758
'collate' => 'utf8_unicode_ci',
59+
'sslmode' => 'require',
5860
],
5961
],
6062
],

0 commit comments

Comments
 (0)