cluster.name: "docker-cluster" network.host: 0.0.0.0 http.port: 9200 # 开启es跨域 http.cors.enabled: true http.cors.allow-origin: "*" http.cors.allow-headers: Authorization # # 开启安全控制 xpack.security.enabled: true xpack.security.transport.ssl.enabled: true