elasticsearch开启xpack
开启试用
curl -H "Content-Type:application/json" -XPOST  http://127.0.0.1:9200/_xpack/license/start_trial?acknowledge=true
配置elasticsearch.yml
http.cors.enabled: true
http.cors.allow-origin: "*"
http.cors.allow-headers: Authorization
xpack.security.enabled: true
xpack.security.transport.ssl.enabled: true
开启:
bin/elasticsearch-setup-passwords interactive

 
                
             
         浙公网安备 33010602011771号
浙公网安备 33010602011771号