Advertisement
tietutz

pg_hba.conf

Feb 19th, 2017
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Database administrative login by Unix domain socket
  2. local   all             postgres                                peer
  3.  
  4. # TYPE  DATABASE        USER            ADDRESS                 METHOD
  5.  
  6. # "local" is for Unix domain socket connections only
  7. local   all             all                                     peer
  8. # IPv4 local connections:
  9. host    all             all             127.0.0.1/32            md5
  10. # IPv6 local connections:
  11. host    all             all             ::1/128                 md5
  12. # Allow replication connections from localhost, by a user with the
  13. # replication privilege.
  14. #local   replication     postgres                                peer
  15. #host    replication     postgres        127.0.0.1/32            md5
  16. #host    replication     postgres        ::1/128                 md5
  17.  
  18. ## REPLICATION WITH REPMGR ##
  19. local   replication repmgr                  trust
  20. host    replication repmgr      127.0.0.1/32        trust
  21. host    replication repmgr      172.17.0.0/24       trust
  22.  
  23. local   repmgr      repmgr                                  trust
  24. host    repmgr      repmgr          127.0.0.1/32            trust
  25. host    repmgr      repmgr          172.17.0.0/24           trust
  26.  
  27. host    all     all     0.0.0.0/24      trust
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement