diff options
author | David Mehren | 2021-05-07 21:42:49 +0200 |
---|---|---|
committer | David Mehren | 2021-05-07 21:43:06 +0200 |
commit | 86be1243f8ae24ac6c0586a694b3788548e9019e (patch) | |
tree | fcd7c3c646b674dc304bdfdfcf6ca5c0cccd82fa | |
parent | 3e836d815baf3f98fb6b263b5aa123d81f78fb9c (diff) |
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>
-rwxr-xr-x | bin/heroku | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -6,6 +6,16 @@ cat << EOF > config.json { "production": { + "db": { + "dialect": "postgres", + "protocol": "postgres", + "dialectOptions": { + "ssl": { + "require": true, + "rejectUnauthorized": false + } + } + } } } |