Update `ES_HOST` to document TLS usage (#1140)
* Update `ES_HOST` to document TLS usage * Update elasticsearch.md * Update content/en/admin/config.md * Apply suggestions from code review Co-authored-by: Michael Stanclift <mx@vmstan.com>
This commit is contained in:
parent
92c64fd62d
commit
af73402cbe
|
@ -387,7 +387,7 @@ See the [ElasticSearch setup page for details on each setting](../elasticsearch#
|
||||||
|
|
||||||
#### `ES_HOST`
|
#### `ES_HOST`
|
||||||
|
|
||||||
Host of the Elasticsearch server. Defaults to `localhost`
|
Host of the Elasticsearch server. Defaults to `localhost`. If using TLS, prepend the hostname with `https://`. For example: `https://elastic.example.com`.
|
||||||
|
|
||||||
#### `ES_PORT`
|
#### `ES_PORT`
|
||||||
|
|
||||||
|
@ -830,3 +830,4 @@ Defaults to `512`.
|
||||||
#### `GITHUB_API_TOKEN`
|
#### `GITHUB_API_TOKEN`
|
||||||
|
|
||||||
Used in a rake task for generating AUTHORS.md from GitHub commit history.
|
Used in a rake task for generating AUTHORS.md from GitHub commit history.
|
||||||
|
|
||||||
|
|
|
@ -71,6 +71,8 @@ ES_PRESET= # single_node_cluster, small_cluster or large_cluster
|
||||||
# ES_PASS=
|
# ES_PASS=
|
||||||
```
|
```
|
||||||
|
|
||||||
|
_Note_: If using TLS, prepend the hostname with `https://`. For example: `https://elastic.example.com`.
|
||||||
|
|
||||||
### Choosing the correct preset
|
### Choosing the correct preset
|
||||||
|
|
||||||
The value for `ES_PRESET` depends on the size of your Elasticsearch and will be used to set the number of shards and replica for your indices to the best value for your setup:
|
The value for `ES_PRESET` depends on the size of your Elasticsearch and will be used to set the number of shards and replica for your indices to the best value for your setup:
|
||||||
|
|
Loading…
Reference in New Issue