Skip to content

Instantly share code, notes, and snippets.

@rivernews
Created December 8, 2019 22:44
Show Gist options
  • Save rivernews/ce9cb835c1bf1e2a7bf35ea51e0abe0f to your computer and use it in GitHub Desktop.
Save rivernews/ce9cb835c1bf1e2a7bf35ea51e0abe0f to your computer and use it in GitHub Desktop.
# TYPE DATABASE USER ADDRESS METHOD
# "local" is for Unix domain socket connections only
local all all trust
# IPv4 local connections:
host all all 0.0.0.0/32 trust
# IPv6 local connections:
host all all ::0/128 trust
# Allow replication connections from localhost, by a user with the
# replication privilege.
local replication all trust
host replication all 0.0.0.0/32 trust
host replication all ::0/128 trust
host all all all md5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment