From 411383eb9b07ab912fc7c77e325041f263056227 Mon Sep 17 00:00:00 2001 From: Andrew Date: Sat, 21 Jul 2018 13:37:37 -0700 Subject: [PATCH] More realistic example [skip ci] --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ed107e9..cb44956 100644 --- a/README.md +++ b/README.md @@ -1113,7 +1113,7 @@ rake searchkick:reindex CLASS=Product Create an initializer `config/initializers/elasticsearch.rb` with: ```ruby -ENV["ELASTICSEARCH_URL"] = "https://username:password@host" +ENV["ELASTICSEARCH_URL"] = "https://user:password@host" ``` Then deploy and reindex: @@ -1133,7 +1133,7 @@ Bonsai, Elastic Cloud, and Amazon Elasticsearch all support encryption at rest a Create an initializer `config/initializers/elasticsearch.rb` with multiple hosts: ```ruby -ENV["ELASTICSEARCH_URL"] = "https://host1:9200,https://host2:9200" +ENV["ELASTICSEARCH_URL"] = "https://user:password@host1,https://user:password@host2" ``` See [elasticsearch-transport](https://github.com/elastic/elasticsearch-ruby/blob/master/elasticsearch-transport) for a complete list of options. -- libgit2 0.21.0