Skip to content

Commit c19497f

Browse files
author
Federico Ceratto
committed
HKG->AMS replication over VPN
1 parent 7c94740 commit c19497f

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

ansible/roles/plpsql/templates/pg_hba.conf

+7-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,13 @@ host all all ::1/128 trust
9494

9595
# NB: `ssl` is neither supported nor enforced.
9696
{% if 'db_active' in group_names %}
97-
host replication amsrepl {{ lookup('dig', 'amsmetadb.ooni.nu/A') }}/32 md5
97+
98+
# Run active->standby replication over VPN
99+
host replication amsrepl 10.1.0.1/32 md5
100+
101+
# Run active->standby replication without VPN - unused
102+
#host replication amsrepl {{ lookup('dig', 'amsmetadb.ooni.nu/A') }}/32 md5
103+
98104
{% endif %}
99105

100106
host all all all md5

0 commit comments

Comments
 (0)