diff --git a/.vscode/settings.json b/.vscode/settings.json index 2b89046..2922e3a 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -14,6 +14,7 @@ "geqo", "hashagg", "hashjoin", + "hostssl", "indexonlyscan", "indexscan", "initdb", diff --git a/templates/pg_hba.conf.erb b/templates/pg_hba.conf.erb index 9203d50..4539606 100644 --- a/templates/pg_hba.conf.erb +++ b/templates/pg_hba.conf.erb @@ -17,4 +17,7 @@ local replication all md5 host replication all 127.0.0.1/32 md5 host replication all ::1/128 md5 -host all all 0.0.0.0/0 scram-sha-256 +host all all 0.0.0.0/0 scram-sha-256 +hostssl all all 0.0.0.0/0 scram-sha-256 +host all all 10.0.1.0/24 scram-sha-256 +hostssl all all 10.0.1.0/24 scram-sha-256 \ No newline at end of file