Grafana引用Elasticsearch数据时,使用Broswer模式无法连接数据,显示CORS error解决方法
尝试添加以下内容:http.cors.enabled: truehttp.cors.allow-credentials: truehttp.cors.allow-methods: OPTIONS,HEAD,GET,POST,PUT,DELETEhttp.cors.max-age: 0http.cors.allow-origin: "*"http.cors.allow-headers : X-Requested-With,X-Auth-Token,Content-Type,Content-Le
原创
2021-02-05 11:04:43 ·
1291 阅读 ·
0 评论