Skip to content

Commit

Permalink
Update http compression in Elasticsearch
Browse files Browse the repository at this point in the history
See elastic/elasticsearch#56899, Elasticsearch disables compression if HTTPS is enabled.
  • Loading branch information
Leaf-Lin authored May 18, 2020
1 parent 612e52e commit 9eb6fd1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/index.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -204,9 +204,9 @@ not reevaluate its DNS value while the keepalive is in effect.

==== HTTP Compression

This plugin supports request and response compression. Response compression is enabled by default and
This plugin supports request and response compression. Response compression is enabled by default for HTTP and
for Elasticsearch versions 5.0 and later, the user doesn't have to set any configs in Elasticsearch for
it to send back compressed response. For versions before 5.0, `http.compression` must be set to `true` https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-http.html#modules-http[in
it to send back compressed response. For versions before 5.0, or if HTTPS is enabled, `http.compression` must be set to `true` https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-http.html#modules-http[in
Elasticsearch] to take advantage of response compression when using this plugin

For requests compression, regardless of the Elasticsearch version, users have to enable `http_compression`
Expand Down

0 comments on commit 9eb6fd1

Please sign in to comment.