Hacker News new | ask | show | jobs
by tinus_hn 1935 days ago
This actually looks pretty reasonable, I am going to look into it. First I need to figure out how to open up the server for connections but still limit it, though.
1 comments

Look at the pg_hba.conf file (probably something like /etc/postgresql/<version>/main/pg_hba.conf).

https://www.postgresql.org/docs/current/auth-pg-hba-conf.htm...

Perhaps it’s better to only listen to localhost and connect through a SSH proxy connection