Linux下解決ElasticSearch跨域問題

在config/elasticsearch.yml配置文件最後添加:bash

http.cors.enabled: true
 http.cors.allow-origin: /http?:\/\/192.168.3.74(:[0-9]+)?/複製代碼
相關文章
相關標籤/搜索