Elasticsearch-head-master配置(esと接続)
559 ワード
1.Guntfile.jsを修正する(ルートディレクトリ下)
connect: {
server: {
options: {
hostname:'*',
port: 9100,
base: '.',
keepalive: true
}
}
}
2.補正_siteディレクトリの下のap.jsthis.base_uri = this.config.base_uri || this.prefs.get("app-base_uri") || "http://192.168.148.133:9200";
# localhost ip
3.es中confディレクトリのelasticsearch.ymlファイルを修正する#
http.cors.enabled: true
http.cors.allow-origin: "*"
node.master: true
node.data: true
基本的に解決します