You need to add ssl: true
to your postgres config.
postgres: {
port: 5432
, password: 'foobar'
, database: 'database1'
, host: 'ec2-107-21-126-45.compute-1.amazonaws.com'
, user: '12345'
, ssl: true
}
Geddy simply passes this config object to the pg module. Check the pg.client wiki page for more info.