Kibana IIS反向代理问题

时间:2016-12-20 08:50:19

标签: iis reverse-proxy elastic-stack

Kibana的反向代理无法在Windows Server 2012上运行。 我已经按照步骤为Kibana配置反向代理,但似乎存在一些问题,因为反向代理Kibana没有加载任何数据,而localhost Kibana工作得很好。 有关详细信息,请转至https://security.stackexchange.com/questions/145846/elk-stack-reverse-proxy-configuration上的问题。

1 个答案:

答案 0 :(得分:0)

可能是跨域问题,在elasticsearch中不允许作为默认值。 将以下内容添加到elasticsearch.yml

http.cors.enabled : true
http.cors.allow-origin : "*"
http.cors.allow-methods : OPTIONS, HEAD, GET, POST, PUT, DELETE
http.cors.allow-headers : X-Requested-With,X-Auth-Token,Content-Type, Content-Length