I am beginner to elastic search and using HEAD plugin as UI interface.I had worked with ES version of 1.3.2 ,working fine and now I had upgraded ES to version 2.3.2 both the server and client pc. I mean that I have installed ES at domain e.g. www.example.com and accessing it in my local with HEAD plugin as http://localhost:9200/_plugin/head.
Now when I try to access ES with browser e.g. www.example.com/_stats than it's working fine , but when I try to connect it with HEAD plugin than it shows 200 response and gives CORS related error on console. I have tried all configuration of elasticsearch.yml at my local by searching but it's doesn't seems to be work for me. I have attached images related to that.
Response Page Output :
Console Page Output :
accessing through browser :
I have tried
http.cors.allow-methods : OPTIONS, HEAD, GET, POST, PUT, DELETE
http.cors.allow-headers : X-Requested-With,X-Auth-Token,Content-Type, Content-Length
with my local configuration but can't work with HEAD plugin.