diff options
-rw-r--r-- | modules/postgresql/templates/pg_hba.conf | 8 | ||||
-rw-r--r-- | modules/youri-check/templates/check.conf | 2 |
2 files changed, 4 insertions, 6 deletions
diff --git a/modules/postgresql/templates/pg_hba.conf b/modules/postgresql/templates/pg_hba.conf index 625d3966..bfc86c12 100644 --- a/modules/postgresql/templates/pg_hba.conf +++ b/modules/postgresql/templates/pg_hba.conf @@ -115,12 +115,10 @@ hostssl template1 bugs 212.85.158.146/32 md5 hostssl template1 bugs 2a02:2178:2:7::2/128 md5 # Allow youri-ckeck on rabbit to access the results db -hostssl youri youri 88.190.12.224/32 md5 +hostssl youri_check youri 88.190.12.224/32 md5 # Allow local access too -host youri youri 212.85.158.146/32 md5 -host youri youri 2a02:2178:2:7::2/128 md5 -hostssl youri youri 212.85.158.146/32 md5 -hostssl youri youri 2a02:2178:2:7::2/128 md5 +hostssl youri_check youri 212.85.158.146/32 md5 +hostssl youri_check youri 2a02:2178:2:7::2/128 md5 # "local" is for Unix domain socket connections only local all all ident map=local diff --git a/modules/youri-check/templates/check.conf b/modules/youri-check/templates/check.conf index 431a4004..ccf4fc1c 100644 --- a/modules/youri-check/templates/check.conf +++ b/modules/youri-check/templates/check.conf @@ -10,7 +10,7 @@ resultset: class: Youri::Check::Resultset::DBI options: driver: Pg - host: <%= pgsql_server %> + host: <%= pgsql_server %>;sslmode=require base: <%= pgsql_db %> user: <%= pgsql_user %> pass: <%= pgsql_password %> |