Linux下解决ElasticSearch跨域问题 Grady_Lo 2019-01-02 1,323 阅读1分钟 在config/elasticsearch.yml配置文件最后添加: http.cors.enabled: true http.cors.allow-origin: /http?:\/\/192.168.3.74(:[0-9]+)?/