[MOD] DB Server Docs

This commit is contained in:
Mohammad Awais 2024-04-21 15:23:59 +05:00 committed by GitHub
parent 0f54c3056f
commit f3e979c96b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 7 additions and 2 deletions

View File

@ -15,7 +15,10 @@ Uncomment and edit the listen_addresses attribute to start listening to start li
!!! danger "Caution" !!! danger "Caution"
On production dont allow all hosts, only your desired IPs On production dont allow all hosts, only your desired IPs
.
listen_addresses = '*' listen_addresses = '*'
Now edit the PostgreSQL access policy configuration file. 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 On production dont allow all hosts, only your desired IPs
.
host all all 0.0.0.0/0 md5 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). 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).