explain what a netmask is

This commit is contained in:
Thomas Maurice 2023-12-06 20:52:33 +01:00
parent 778f435c87
commit e3cb0c4f9c
Signed by: thomas
GPG key ID: 1D577F50583032A6

View file

@ -127,6 +127,8 @@ On the `pg_hba.conf` file add a line like that at the end:
host all all <the netmask you want to add> scram-sha-256 host all all <the netmask you want to add> scram-sha-256
``` ```
The netmask should look like `A.B.C.D/E` like `0.0.0.0/0` for everyone, for example.
Also change the `listen_addresses` instruction to `'*'` in `postgresql.conf`. Also change the `listen_addresses` instruction to `'*'` in `postgresql.conf`.
## Install Nginx ## Install Nginx