Skip to content

Commit

Permalink
docs: update postgres ssl docs to accurately use ca over key (#4271)
Browse files Browse the repository at this point in the history
  • Loading branch information
sighphyre committed Jul 18, 2023
1 parent ef495a3 commit 4fc0f61
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions website/docs/reference/deploy/configuring-unleash.md
Expand Up @@ -299,7 +299,7 @@ const unleashOptions = {
<TabItem value="env" label="Environment variables (bash)">

```bash title="Reading from the file system with bash"
DATABASE_SSL="{ \"key\": \"$(cat /path/to/server-certificates/root.crt)\" }"
DATABASE_SSL="{ \"ca\": \"$(cat /path/to/server-certificates/root.crt)\" }"
```

</TabItem>
Expand Down Expand Up @@ -331,7 +331,7 @@ const unleashOptions = {
<TabItem value="env" label="Environment variables (bash)">

```bash title="Enable self-signed certificates"
DATABASE_SSL="{ \"rejectUnauthorized\": false, \"key\": \"$(cat /path/to/server-certificates/root.crt)\" }"
DATABASE_SSL="{ \"rejectUnauthorized\": false, \"ca\": \"$(cat /path/to/server-certificates/root.crt)\" }"
```

</TabItem>
Expand Down

0 comments on commit 4fc0f61

Please sign in to comment.