Skip to content

Commit

Permalink
add note about adding sslmode=disable to the db connection string (#287)
Browse files Browse the repository at this point in the history
  • Loading branch information
JakeUrban authored Dec 19, 2023
1 parent 5aafab0 commit 010fb1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/run-api-server/configuring.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ You'll see that Horizon defines a large number of flags; however, only a handful
| `--db-url` | `DATABASE_URL` | postgres://localhost/horizon_testnet |
| `--history-archive-urls` | `HISTORY_ARCHIVE_URLS` | https://history.stellar.org/prd/core-testnet/core_testnet_001,https://history.stellar.org/prd/core-testnet/core_testnet_002 |

- The most important parameter, `--db-url`, specifies the Horizon database; its value should be a valid [PostgreSQL Connection URI](http://www.postgresql.org/docs/9.6/static/libpq-connect.html#AEN46025).
- The most important parameter, `--db-url`, specifies the Horizon database; its value should be a valid [PostgreSQL Connection URI](http://www.postgresql.org/docs/9.6/static/libpq-connect.html#AEN46025). If you are running horizon locally, you may want to add the `sslmode=disable` query parameter to the connection string, although this is not recommended in production environments.
- The other parameter, `--history-archive-urls`, specifies a set of comma-separated locations from which Horizon should download [history archives](../run-core-node/publishing-history-archives.mdx).

#### With Ingestion
Expand Down

0 comments on commit 010fb1d

Please sign in to comment.