]> git.ekhem.eu.org Git - server.git/commitdiff
[postgres] Disable local connections outside dedicated roles.
authorJakub Czajka <jakub@ekhem.eu.org>
Sun, 29 Jan 2023 13:22:50 +0000 (14:22 +0100)
committerJakub Czajka <jakub@ekhem.eu.org>
Sun, 3 Dec 2023 21:03:23 +0000 (22:03 +0100)
postgres/pg_hba.conf

index 1b94e9ccb0b62c90b2ba2063b6e7805d8f49d281..088be7a9b192de0a512fec431b09c2630ef4ea57 100644 (file)
@@ -96,10 +96,6 @@ host    mail_db         dkim            ::1/128                 trust
 local   matrix_db       synapse_user                            trust
 # "local" is for Unix domain socket connections only
 local   all             all                                     peer
-# IPv4 local connections:
-host    all             all             127.0.0.1/32            md5
-# IPv6 local connections:
-host    all             all             ::1/128                 md5
 # Allow replication connections from localhost, by a user with the
 # replication privilege.
 local   replication     all                                     peer