Added Postgres SSL Support (#7887)

* [Added] Postgres SSL Support

* [Added]Postgres SSL Support

* [Added] Postgres SSL Support
This commit is contained in:
David Karrick
2019-09-07 18:27:51 +01:00
committed by Barış Soner Uşaklı
parent 2d24153933
commit 9b4ae4c04a
3 changed files with 7 additions and 0 deletions

View File

@@ -38,6 +38,11 @@ postgresModule.questions = [
description: 'PostgreSQL database name',
default: nconf.get('postgres:database') || 'nodebb',
},
{
name: 'postgres:ssl',
description: 'Enable SSL for PostgreSQL database access',
default: nconf.get('postgres:ssl') || false,
},
];
postgresModule.init = function (callback) {