Changing verifySSL to verify_ssl

This commit is contained in:
Chris Cowan 2014-12-01 15:18:51 -07:00
parent 3a2a252155
commit 6c17bf1c2f
2 changed files with 2 additions and 2 deletions

View file

@ -26,4 +26,4 @@ shard_timeout: 30000
# Set to false to have a complete disregard for the validity of the SSL
# certificate.
verifySSL: true
verify_ssl: true

View file

@ -8,7 +8,7 @@ module Kibana
config = settings.config
use Rack::ReverseProxy do
reverse_proxy_options timeout: config["request_timeout"]
@global_options[:verify_ssl] = config["verifySSL"].nil? ? true : config["verifySSL"]
@global_options[:verify_ssl] = config["verify_ssl"].nil? ? true : config["verify_ssl"]
reverse_proxy(/^\/elasticsearch(.*)$/, "#{config["elasticsearch"]}$1")
end
end