浏览代码

Use md5 login for postgres

Colin Powell 2 年之前
父节点
当前提交
0b2eb9421f
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      ansible/roles/postgres/files/pg_hba.conf.patch

+ 2 - 2
ansible/roles/postgres/files/pg_hba.conf.patch

@@ -4,5 +4,5 @@
  host    replication     all             ::1/128                 trust
  host    replication     all             ::1/128                 trust
 +
 +
 +# All IPv4 and IPv6 connections allowed and trusted (don't run this on an IP oustide the local net
 +# All IPv4 and IPv6 connections allowed and trusted (don't run this on an IP oustide the local net
-+host    all             all             0.0.0.0/0               trust
-+host    all             all             ::0/0                   trust
++host    all             all             0.0.0.0/0               md5 
++host    all             all             ::0/0                   md5