Skip to content

Commit

Permalink
use window.location.protocol so we can use ES behind SSL
Browse files Browse the repository at this point in the history
  • Loading branch information
errordeveloper committed May 28, 2013
1 parent 9a48b67 commit ca59dad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit ca59dad

Please sign in to comment.