Ignore Postgres SSL errors on Heroku
The connection to Heroku's Postgres instances must use SSL, but not check the certificate. This adds the necessary configuration to the Heroku setup script. Fixes #1245 Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
10
bin/heroku
10
bin/heroku
@@ -6,6 +6,16 @@ cat << EOF > config.json
|
||||
|
||||
{
|
||||
"production": {
|
||||
"db": {
|
||||
"dialect": "postgres",
|
||||
"protocol": "postgres",
|
||||
"dialectOptions": {
|
||||
"ssl": {
|
||||
"require": true,
|
||||
"rejectUnauthorized": false
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user