summaryrefslogtreecommitdiff
path: root/public/fs/home/pgsql/data/pg_hba.conf
diff options
context:
space:
mode:
Diffstat (limited to 'public/fs/home/pgsql/data/pg_hba.conf')
-rw-r--r--public/fs/home/pgsql/data/pg_hba.conf16
1 files changed, 16 insertions, 0 deletions
diff --git a/public/fs/home/pgsql/data/pg_hba.conf b/public/fs/home/pgsql/data/pg_hba.conf
new file mode 100644
index 0000000..6abd582
--- /dev/null
+++ b/public/fs/home/pgsql/data/pg_hba.conf
@@ -0,0 +1,16 @@
+# PostgreSQL Client Authentication Configuration File
+# ===================================================
+
+# local DATABASE USER METHOD [OPTIONS]
+# host DATABASE USER ADDRESS METHOD [OPTIONS]
+# hostssl DATABASE USER ADDRESS METHOD [OPTIONS]
+# hostnossl DATABASE USER ADDRESS METHOD [OPTIONS]
+
+local all all peer
+host all all 127.0.0.1/32 scram-sha-256
+host all all 10.8.0.0/24 scram-sha-256
+host all all ::1/128 scram-sha-256
+
+local replication all peer
+host replication all 127.0.0.1/32 scram-sha-256
+host replication all ::1/128 scram-sha-256