Elastic Search添加X-Pack插件后,head无法访问的问题

注意:
es集群修改elasticsearch.yml配置添加
http.cors.allow-headers: Authorization,X-Requested-With,Content-Length,Content-Type

重启集群

原文地址:https://www.cnblogs.com/stone1989/p/10303022.html