]> git.ekhem.eu.org Git - server.git/commitdiff
[postgres] Read website logs from a database.
authorJakub Czajka <jakub@ekhem.eu.org>
Sun, 11 Feb 2024 12:42:43 +0000 (13:42 +0100)
committerJakub Czajka <jakub@ekhem.eu.org>
Sun, 11 Feb 2024 13:08:48 +0000 (14:08 +0100)
postgres/pg_hba.conf

index 82e47e9d2b996ee4692f31ddff206b4f9dff6b7e..9feaea8c9b6e912a61b05a4bea6406c0124f98f4 100755 (executable)
 # maintenance (custom daily cronjobs, replication, and similar tasks).
 #
 # Database administrative login by Unix domain socket
-local   all             postgres                                trust
+local   all             postgres                                 trust
 
-# TYPE  DATABASE        USER            ADDRESS                 METHOD
+# TYPE  DATABASE        USER             ADDRESS                 METHOD
 
-local   mail_db         dovecot                                 trust
-host    mail_db         dovecot         ::1/128                 trust
-host    mail_db         dkim            ::1/128                 trust
-host    analytics_db    rsyslog         ::1/128                 trust
-local   gym_db          gym_tracker                             trust
-local   matrix_db       synapse_user                            trust
-local   metrics_db      metrics_tracker                         trust
-local   payments_db     payments_tracker                        trust
+local   mail_db         dovecot                                  trust
+host    mail_db         dovecot          ::1/128                 trust
+host    mail_db         dkim             ::1/128                 trust
+host    analytics_db    rsyslog          ::1/128                 trust
+local   analytics_db    analytics_reader                         trust
+local   gym_db          gym_tracker                              trust
+local   matrix_db       synapse_user                             trust
+local   metrics_db      metrics_tracker                          trust
+local   payments_db     payments_tracker                         trust
 # "local" is for Unix domain socket connections only
-local   all             all                                     peer
+local   all             all                                      peer
 # IPv4 local connections:
-host    all             all             127.0.0.1/32            scram-sha-256
+host    all             all              127.0.0.1/32            scram-sha-256
 # IPv6 local connections:
-host    all             all             ::1/128                 scram-sha-256
+host    all             all              ::1/128                 scram-sha-256
 # Allow replication connections from localhost, by a user with the
 # replication privilege.
-local   replication     all                                     peer
-host    replication     all             127.0.0.1/32            scram-sha-256
-host    replication     all             ::1/128                 scram-sha-256
-hostssl all             postgres        0.0.0.0/0               cert
+local   replication     all                                      peer
+host    replication     all              127.0.0.1/32            scram-sha-256
+host    replication     all              ::1/128                 scram-sha-256
+hostssl all             postgres         0.0.0.0/0               cert