mirror of
https://git.pvv.ntnu.no/Drift/pvv-nixos-config.git
synced 2026-07-21 20:41:25 +02:00
bicep/postgres: log connections/disconnections
This commit is contained in:
@@ -77,9 +77,15 @@ in
|
|||||||
maintenance_io_concurrency = 100;
|
maintenance_io_concurrency = 100;
|
||||||
wal_recycle = true;
|
wal_recycle = true;
|
||||||
|
|
||||||
|
# -------------------------------- #
|
||||||
|
|
||||||
# Authentication
|
# Authentication
|
||||||
password_encryption = "scram-sha-256";
|
password_encryption = "scram-sha-256";
|
||||||
|
|
||||||
|
# Logging
|
||||||
|
log_connections = "authorization";
|
||||||
|
log_disconnections = true;
|
||||||
|
|
||||||
# SSL
|
# SSL
|
||||||
ssl = true;
|
ssl = true;
|
||||||
ssl_cert_file = "/run/credentials/postgresql.service/cert";
|
ssl_cert_file = "/run/credentials/postgresql.service/cert";
|
||||||
|
|||||||
Reference in New Issue
Block a user