Bladeren bron

Use md5 login for postgres

Colin Powell 2 jaren geleden
bovenliggende
commit
0b2eb9421f
1 gewijzigde bestanden met toevoegingen van 2 en 2 verwijderingen
  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
 +
 +# 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