From: Rafael dos Santos Silva Date: Thu, 26 Aug 2021 19:43:57 +0000 (-0300) Subject: Fix #551 regression on old pg X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=45b4e7c35a371951484cd5e27a1c9db3f96af9e1;p=discourse_docker.git Fix #551 regression on old pg --- diff --git a/templates/postgres.10.template.yml b/templates/postgres.10.template.yml index 2c729bd..358d641 100644 --- a/templates/postgres.10.template.yml +++ b/templates/postgres.10.template.yml @@ -120,7 +120,7 @@ run: # allow all to connect in with md5 auth (IPv6) - replace: - filename: "/etc/postgresql/13/main/pg_hba.conf" + filename: "/etc/postgresql/10/main/pg_hba.conf" from: /^host.*all.*all.*::1\/128.*$/ to: "host all all ::/0 md5" diff --git a/templates/postgres.12.template.yml b/templates/postgres.12.template.yml index 4bd8461..da9abf3 100644 --- a/templates/postgres.12.template.yml +++ b/templates/postgres.12.template.yml @@ -119,7 +119,7 @@ run: # allow all to connect in with md5 auth (IPv6) - replace: - filename: "/etc/postgresql/13/main/pg_hba.conf" + filename: "/etc/postgresql/12/main/pg_hba.conf" from: /^host.*all.*all.*::1\/128.*$/ to: "host all all ::/0 md5" diff --git a/templates/postgres.9.5.template.yml b/templates/postgres.9.5.template.yml index 7518430..9d62713 100644 --- a/templates/postgres.9.5.template.yml +++ b/templates/postgres.9.5.template.yml @@ -120,7 +120,7 @@ run: # allow all to connect in with md5 auth (IPv6) - replace: - filename: "/etc/postgresql/13/main/pg_hba.conf" + filename: "/etc/postgresql/9.5/main/pg_hba.conf" from: /^host.*all.*all.*::1\/128.*$/ to: "host all all ::/0 md5"