Hcy

ES跨域问题配置

Feb 25, 2020
85
0

修改配置文件

vi elasticsearch.yml

添加

http.cors.enabled: true

http.cors.allow-origin: "*"