11 月 232017
 

参考url:http://www.voidcn.com/article/p-vmjpnqek-bnu.html

我在安装配置好es 5.4 和 ES-head,但是一直没有数据,后来根据这个文章发现,添加如下配置即可。其实就是授权。之前没注意,配置如下:

network.bind_host: 0.0.0.0     #可有可无,但是我搭建的集群,只监听内网,所以要添加全网监听
http.cors.allow-origin: “/.*/”
http.cors.enabled: true

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

(required)

(required)

这个站点使用 Akismet 来减少垃圾评论。了解你的评论数据如何被处理

This website stores cookies on your computer. These cookies are used to provide a more personalized experience and to track your whereabouts around our website in compliance with the European General Data Protection Regulation. If you decide to to opt-out of any future tracking, a cookie will be setup in your browser to remember this choice for one year.

Accept or Deny