diff options
Diffstat (limited to 'modules/postgresql/templates/pg_hba.conf')
-rw-r--r-- | modules/postgresql/templates/pg_hba.conf | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/modules/postgresql/templates/pg_hba.conf b/modules/postgresql/templates/pg_hba.conf index a1da9c10..e4232a4e 100644 --- a/modules/postgresql/templates/pg_hba.conf +++ b/modules/postgresql/templates/pg_hba.conf @@ -79,7 +79,7 @@ <%- for line in @conf_lines -%> -<%= @line %> +<%= line %> <%- end -%> @@ -92,10 +92,10 @@ # fetch it for i in db %> -host <%= @i %> <%= @i %> 127.0.0.1/32 md5 -host <%= @i %> <%= @i %> ::1/128 md5 -hostssl <%= @i %> <%= @i %> <%= @ipaddress %>/32 md5 -hostssl <%= @i %> <%= @i %> 2a02:2178:2:7::2/128 md5 +host <%= i %> <%= i %> 127.0.0.1/32 md5 +host <%= i %> <%= i %> ::1/128 md5 +hostssl <%= i %> <%= i %> <%= ipaddress %>/32 md5 +hostssl <%= i %> <%= i %> 2a02:2178:2:7::2/128 md5 <% end %> @@ -104,12 +104,12 @@ end lang = ['en','de'] for l in lang %> -host phpbb_<%= @l %> phpbb 127.0.0.1/32 md5 -host phpbb_<%= @l %> phpbb ::1/128 md5 -hostssl phpbb_<%= @l %> phpbb <%= @ipaddress %>/32 md5 -hostssl phpbb_<%= @l %> phpbb 2a02:2178:2:7::2/128 md5 +host phpbb_<%= l %> phpbb 127.0.0.1/32 md5 +host phpbb_<%= l %> phpbb ::1/128 md5 +hostssl phpbb_<%= l %> phpbb <%= ipaddress %>/32 md5 +hostssl phpbb_<%= l %> phpbb 2a02:2178:2:7::2/128 md5 # temporary, for the forum on friteuse vm -hostssl phpbb_<%= @l %> phpbb 192.168.122.0/24 md5 +hostssl phpbb_<%= l %> phpbb 192.168.122.0/24 md5 <% end %> |