From 09c576a32072d21029d34b3ecf8b52df820b0662 Mon Sep 17 00:00:00 2001 From: Mohammad Awais Date: Sun, 21 Apr 2024 15:15:14 +0500 Subject: [PATCH] [MOD] DB Server Docs --- docs/db_server.md | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/docs/db_server.md b/docs/db_server.md index 63ce7c6..08dc592 100644 --- a/docs/db_server.md +++ b/docs/db_server.md @@ -12,8 +12,10 @@ and dont forget to setup and alowing remote host connections Uncomment and edit the listen_addresses attribute to start listening to start listening to all available IP addresses. -> [!CAUTION] -> On production dont allow all hosts, only your desired IPs +!!! danger "Caution" + + On production dont allow all hosts, only your desired IPs + listen_addresses = '*' @@ -24,8 +26,10 @@ Now edit the PostgreSQL access policy configuration file. Append a new connection policy (a pattern stands for [CONNECTION_TYPE][DATABASE][USER] [ADDRESS][METHOD]) in the bottom of the file. -> [!CAUTION] -> On production dont allow all hosts, only your desired IPs +!!! danger "Caution" + + On production dont allow all hosts, only your desired IPs + host all all 0.0.0.0/0 md5