From 3be3ee4ac495e51e60f453eac4ce07f3b771ff5f Mon Sep 17 00:00:00 2001 From: xiaoz Date: Thu, 8 Jan 2026 17:31:00 +0800 Subject: [PATCH] fix bug --- pgsql/postgres.conf | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pgsql/postgres.conf b/pgsql/postgres.conf index d2f7bf0..997ae5e 100644 --- a/pgsql/postgres.conf +++ b/pgsql/postgres.conf @@ -1,7 +1,7 @@ # ----------------------------- # 基础设置 # ----------------------------- -listen_addresses = '127.0.0.1' # 仅允许本地连接(由 Docker 网络控制访问) +listen_addresses = '*' # 仅允许本地连接(由 Docker 网络控制访问) port = 5432 max_connections = 100 # 根据应用连接池调整(如 pgbouncer 可设更低) @@ -46,4 +46,7 @@ lc_time = 'en_US.UTF-8' # ----------------------------- # 其他安全建议 # ----------------------------- -password_encryption = scram-sha-256 # 强制使用 SCRAM-SHA-256 密码加密 \ No newline at end of file +password_encryption = scram-sha-256 # 强制使用 SCRAM-SHA-256 密码加密 + +# 禁用ssl +ssl = off \ No newline at end of file