ElasticSearch: Allow only local requests

前端 未结 3 633
我在风中等你
我在风中等你 2020-12-23 09:36

How can allow only local requests for elasticsearch? So command like:

curl -XGET \'http://localhost:9200/twitter/_settings\'

can only be r

3条回答
  •  情深已故
    2020-12-23 10:28

    I use this parameter:

    http.host: "127.0.0.1"

    This parameter not accept http requests for external request.

提交回复
热议问题