From f3e979c96b4f48aea7726ddcf19f4ecf81f35168 Mon Sep 17 00:00:00 2001 From: Mohammad Awais Date: Sun, 21 Apr 2024 15:23:59 +0500 Subject: [PATCH] [MOD] DB Server Docs --- docs/db_server.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/docs/db_server.md b/docs/db_server.md index f5817d8..9af8370 100644 --- a/docs/db_server.md +++ b/docs/db_server.md @@ -15,7 +15,10 @@ Uncomment and edit the listen_addresses attribute to start listening to start li !!! danger "Caution" On production dont allow all hosts, only your desired IPs - . + + + + listen_addresses = '*' Now edit the PostgreSQL access policy configuration file. @@ -29,7 +32,9 @@ Now edit the PostgreSQL access policy configuration file. On production dont allow all hosts, only your desired IPs - . + + + host all all 0.0.0.0/0 md5 We are allowing TCP/IP connections (host) to all databases (all) for all users (all) with any IPv4 address (0.0.0.0/0) using an MD5 encrypted password for authentication (md5).