[MOD] DB Server Docs

This commit is contained in:
Mohammad Awais 2024-04-21 15:15:14 +05:00 committed by GitHub
parent 769738f8c3
commit 09c576a320
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 8 additions and 4 deletions

View File

@ -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