From 769738f8c3645443ef770243ce8fb67c7f789c09 Mon Sep 17 00:00:00 2001 From: Mohammad Awais Date: Sun, 21 Apr 2024 15:11:29 +0500 Subject: [PATCH] [MOD] Docs --- docs/db_server.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/db_server.md b/docs/db_server.md index 432024f..63ce7c6 100644 --- a/docs/db_server.md +++ b/docs/db_server.md @@ -12,6 +12,9 @@ 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 + listen_addresses = '*' Now edit the PostgreSQL access policy configuration file. @@ -21,6 +24,8 @@ 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 host all all 0.0.0.0/0 md5