summaryrefslogtreecommitdiff
path: root/public/fs/home/pgsql/data/pg_hba.conf.in
blob: 07fef10f8daec7f1b57c571387c9bdab05014cd2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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             @vpn_net4@/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