summaryrefslogtreecommitdiff
path: root/public/fs/home/pgsql/data/pg_hba.conf
diff options
context:
space:
mode:
authorroot@culturestrings <root@culturestrings>2020-05-21 06:20:15 +0000
committerroot@culturestrings <root@culturestrings>2020-05-21 07:56:17 +0000
commitdc05ebcd0a58364eee143693e3c9c9f4fe93de96 (patch)
tree17c176207e062b647d645d8a2ada33a734056de1 /public/fs/home/pgsql/data/pg_hba.conf
parent6e174e40654a967b752691b6adb158d3abe9ae7e (diff)
downloadculturestrings-dc05ebcd0a58364eee143693e3c9c9f4fe93de96.tar.bz2
culturestrings-dc05ebcd0a58364eee143693e3c9c9f4fe93de96.tar.xz
postgresql: current configuration (enabled scram-sha-256 and openvpn access).
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