首页 文章

Kibana IIS 反向代理问题

提问于
浏览
0

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

1 回答

  • 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
    

相关问题