Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions content/en/admin/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -598,6 +598,10 @@ The password used to authenticate with sentinels.

If set to `true`, Mastodon will use Elasticsearch for its search functions.

#### `ES_VERIFY_SSL`

If set to `true`, Mastodon will validate the HTTPS certificates offered by the ES_HOST. Set to `false` when using self-signed certifcates. Defaults to `true`.

#### `ES_PRESET`

It controls the Elasticsearch indices configuration (number of shards and replica).
Expand Down
3 changes: 2 additions & 1 deletion content/en/admin/elasticsearch.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,14 +77,15 @@ Edit `.env.production` to add the following variables:

```bash
ES_ENABLED=true
ES_VERIFY_SSL=true
ES_HOST=localhost
ES_PORT=9200
ES_PRESET= # single_node_cluster, small_cluster or large_cluster
# ES_USER=
# ES_PASS=
```

_Note_: If using TLS, prepend the hostname with `https://`. For example: `https://elastic.example.com`.
_Note_: If using TLS, prepend the hostname with `https://`. For example: `https://elastic.example.com`. Set ES_VERIFY_SSL to false when using self-signed certs.

### Choosing the correct preset

Expand Down