mirror of
https://github.com/outbackdingo/patroni.git
synced 2026-09-01 09:09:21 +00:00
allow connections for all hosts and ports, not just postgres.
This commit is contained in:
@@ -152,7 +152,7 @@ class Postgresql:
|
||||
# allow TCP connections from the host's own address
|
||||
f.write("\nhost postgres postgres samehost trust\n")
|
||||
# allow TCP connections from the rest of the world with a password
|
||||
f.write("\nhost postgres postgres 0.0.0.0/0 md5\n")
|
||||
f.write("\nhost all all 0.0.0.0/0 md5\n")
|
||||
f.close()
|
||||
|
||||
def write_recovery_conf(self, leader_hash):
|
||||
|
||||
Reference in New Issue
Block a user