Fixes https://github.com/emqx/emqx/issues/9907 At v5.0.14, we changed the `ssl` option for the Postgres connector from `true` to `required`, but there was another transformation in `conn_opts/2` that led to an incorrect configuration. This change ended up preventing users from connecting to Postgres with their previous configurations after upgrading EMQX.
9 lines
289 B
Plaintext
9 lines
289 B
Plaintext
# TYPE DATABASE USER CIDR-ADDRESS METHOD
|
|
local all all trust
|
|
# TODO: also test with `cert`? will require client certs
|
|
hostssl all all 0.0.0.0/0 password
|
|
hostssl all all ::/0 password
|
|
|
|
hostssl all www-data 0.0.0.0/0 cert clientcert=1
|
|
hostssl all postgres 0.0.0.0/0 cert clientcert=1
|