From ca59dad51106ceabd888ffba9f5c36cc166287f5 Mon Sep 17 00:00:00 2001 From: Ilya Dmitrichenko Date: Tue, 28 May 2013 14:00:47 +0200 Subject: [PATCH] use `window.location.protocol` so we can use ES behind SSL --- config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.js b/config.js index a99a3c0c5fe..d2ac347dfee 100644 --- a/config.js +++ b/config.js @@ -17,7 +17,7 @@ var config = new Settings( // By default this will attempt to reach ES at the same host you have // elasticsearch installed on. You probably want to set it to the FQDN of your // elasticsearch host - elasticsearch: "http://"+window.location.hostname+":9200", + elasticsearch: window.location.protocol+"//"+window.location.hostname+":9200", // elasticsearch: 'http://localhost:9200', kibana_index: "kibana-int", modules: ['histogram','map','pie','table','stringquery','sort',