# Protecting my data

**URL:** <https://discuss.elastic.co/t/protecting-my-data/14637>\
**Category:** Elasticsearch\
**Created:** [November 28, 2013, 8:37pm UTC](https://discuss.elastic.co/t/protecting-my-data/14637 "2013-11-28T20:37:12Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![danielr](https://avatars.discourse-cdn.com/v4/letter/d/f17d59/32.png) [@danielr](https://discuss.elastic.co/u/danielr)\
**Post date:** [November 28, 2013, 8:37pm UTC](https://discuss.elastic.co/t/protecting-my-data/14637/1 "2013-11-28T20:37:12Z")

</div>

Here's a question I couldn't find an answer to by searching the web..  
How do I protect my data from being attacked by hostile sources?

I mean.. does anyone who has my server's ip can just send a DELETE request  
and kill my index?

I found solutions like reverse http and proxy servers.  
But is there no out of the box one?

10X 🙂

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/5c56bd68-df96-49df-b21b-d9a530fe0e25%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/5c56bd68-df96-49df-b21b-d9a530fe0e25%40googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [November 28, 2013, 8:50pm UTC](https://discuss.elastic.co/t/protecting-my-data/14637/2 "2013-11-28T20:50:14Z")

</div>

No. Nothing out of the box.  
Nginx is nice for that.

--  
David Pilato | Technical Advocate | [Elasticsearch.com](http://Elasticsearch.com)  
@dadoonet | @elasticsearchfr

Le 28 novembre 2013 at 21:37:15, DanielR ([danielrastaziv@gmail.com](mailto:danielrastaziv@gmail.com)) a écrit:

Here's a question I couldn't find an answer to by searching the web..  
How do I protect my data from being attacked by hostile sources?

I mean.. does anyone who has my server's ip can just send a DELETE request and kill my index?

I found solutions like reverse http and proxy servers.  
But is there no out of the box one?

## 10X 🙂

You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/5c56bd68-df96-49df-b21b-d9a530fe0e25%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/5c56bd68-df96-49df-b21b-d9a530fe0e25%40googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/etPan.5297ac86.8f2b15e.3e14%40MacBook-Air-de-David.local](https://groups.google.com/d/msgid/elasticsearch/etPan.5297ac86.8f2b15e.3e14%40MacBook-Air-de-David.local).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![danielr](https://avatars.discourse-cdn.com/v4/letter/d/f17d59/32.png) [@danielr](https://discuss.elastic.co/u/danielr)\
**Post date:** [November 28, 2013, 9:02pm UTC](https://discuss.elastic.co/t/protecting-my-data/14637/3 "2013-11-28T21:02:37Z")

</div>

Ok.. that's what i thought..  
also. I found this plugin supported by elasticsearch that can configure  
nginx for me.

> **[GitHub - sous-chefs/elasticsearch: Development repository for the...](https://github.com/sous-chefs/elasticsearch)**
>
> Development repository for the elasticsearch cookbook - GitHub - sous-chefs/elasticsearch: Development repository for the elasticsearch cookbook

Do you know anything about it?

On Thursday, November 28, 2013 10:50:14 PM UTC+2, David Pilato wrote:

> No. Nothing out of the box.  
> Nginx is nice for that.
> 
> --  
> _David Pilato_ | _Technical Advocate_ | _[Elasticsearch.com](http://Elasticsearch.com)_  
> @dadoonet [https://twitter.com/dadoonet](https://twitter.com/dadoonet) | @elasticsearchfr[https://twitter.com/elasticsearchfr](https://twitter.com/elasticsearchfr)
> 
> Le 28 novembre 2013 at 21:37:15, DanielR ([danielr...@gmail.com](mailto:danielr...@gmail.com)\<javascript:\>)  
> a écrit:
> 
> Here's a question I couldn't find an answer to by searching the web..  
> How do I protect my data from being attacked by hostile sources?
> 
> I mean.. does anyone who has my server's ip can just send a DELETE request  
> and kill my index?
> 
> I found solutions like reverse http and proxy servers.  
> But is there no out of the box one?
> 
> ## 10X 🙂
> 
> You received this message because you are subscribed to the Google Groups  
> "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an  
> email to [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com) \<javascript:\>.  
> To view this discussion on the web visit  
> [https://groups.google.com/d/msgid/elasticsearch/5c56bd68-df96-49df-b21b-d9a530fe0e25%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/5c56bd68-df96-49df-b21b-d9a530fe0e25%40googlegroups.com)  
> .  
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/a81acc13-7ce4-4999-861a-3a0840b6ccf7%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/a81acc13-7ce4-4999-861a-3a0840b6ccf7%40googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![karmi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/karmi/32/44951_2.png) [@karmi](https://discuss.elastic.co/u/karmi)\
**Post date:** [November 28, 2013, 9:48pm UTC](https://discuss.elastic.co/t/protecting-my-data/14637/4 "2013-11-28T21:48:08Z")

</div>

> I found this plugin supported by elasticsearch that can configure nginx  
> for me.
> 
> [GitHub - sous-chefs/elasticsearch: Development repository for the elasticsearch cookbook](https://github.com/elasticsearch/cookbook-elasticsearch)

See the [GitHub - sous-chefs/elasticsearch: Development repository for the elasticsearch cookbook](https://github.com/elasticsearch/cookbook-elasticsearch#nginx-proxy)  
section of the README: the cookbook allows you to define the users and  
passwords, and automatically installs and configures Nginx with these  
settings. You can check it with the provided Vagrant configuration, or you  
can follow this tutorial:  
[Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/tutorials/deploying-elasticsearch-with-chef-solo/)

For an example of denying methods in Nginx configuration, see e.g. this  
StackOverflow answer: [lua - nginx proxy\_pass based on whether request method is POST, PUT or DELETE - Stack Overflow](http://stackoverflow.com/a/8594977/95696)

Karel

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/be9941af-a7f4-4c7b-bf10-6abcef508008%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/be9941af-a7f4-4c7b-bf10-6abcef508008%40googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![danielr](https://avatars.discourse-cdn.com/v4/letter/d/f17d59/32.png) [@danielr](https://discuss.elastic.co/u/danielr)\
**Post date:** [November 28, 2013, 9:52pm UTC](https://discuss.elastic.co/t/protecting-my-data/14637/5 "2013-11-28T21:52:24Z")

</div>

I think i got it!  
but what if a already have ES installed.  
Do i really need to start all over again??

On Thursday, November 28, 2013 11:48:08 PM UTC+2, Karel Minařík wrote:

> I found this plugin supported by elasticsearch that can configure nginx
> 
> > for me.
> > 
> > [GitHub - sous-chefs/elasticsearch: Development repository for the elasticsearch cookbook](https://github.com/elasticsearch/cookbook-elasticsearch)
> 
> See the  
> [GitHub - sous-chefs/elasticsearch: Development repository for the elasticsearch cookbook](https://github.com/elasticsearch/cookbook-elasticsearch#nginx-proxysection) of the README: the cookbook allows you to define the users and  
> passwords, and automatically installs and configures Nginx with these  
> settings. You can check it with the provided Vagrant configuration, or you  
> can follow this tutorial:  
> [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/tutorials/deploying-elasticsearch-with-chef-solo/)
> 
> For an example of denying methods in Nginx configuration, see e.g. this  
> StackOverflow answer: [lua - nginx proxy\_pass based on whether request method is POST, PUT or DELETE - Stack Overflow](http://stackoverflow.com/a/8594977/95696)
> 
> Karel

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/d4d778e1-ea2e-46e8-b77e-9d7926300343%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/d4d778e1-ea2e-46e8-b77e-9d7926300343%40googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![karmi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/karmi/32/44951_2.png) [@karmi](https://discuss.elastic.co/u/karmi)\
**Post date:** [November 28, 2013, 10:42pm UTC](https://discuss.elastic.co/t/protecting-my-data/14637/6 "2013-11-28T22:42:11Z")

</div>

No, you can install just the proxy with the Chef cookbook, or you can extract the configuration and set up Nginx separately.

Karel

On 28. 11. 2013, at 22:52, DanielR [danielrastaziv@gmail.com](mailto:danielrastaziv@gmail.com) wrote:

> I think i got it!  
> but what if a already have ES installed.  
> Do i really need to start all over again??
> 
> On Thursday, November 28, 2013 11:48:08 PM UTC+2, Karel Minařík wrote:
> 
> > > I found this plugin supported by elasticsearch that can configure nginx for me.
> > > 
> > > [GitHub - sous-chefs/elasticsearch: Development repository for the elasticsearch cookbook](https://github.com/elasticsearch/cookbook-elasticsearch)
> > 
> > See the [GitHub - sous-chefs/elasticsearch: Development repository for the elasticsearch cookbook](https://github.com/elasticsearch/cookbook-elasticsearch#nginx-proxy) section of the README: the cookbook allows you to define the users and passwords, and automatically installs and configures Nginx with these settings. You can check it with the provided Vagrant configuration, or you can follow this tutorial: [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/tutorials/deploying-elasticsearch-with-chef-solo/)
> > 
> > For an example of denying methods in Nginx configuration, see e.g. this StackOverflow answer: [lua - nginx proxy\_pass based on whether request method is POST, PUT or DELETE - Stack Overflow](http://stackoverflow.com/a/8594977/95696)
> > 
> > Karel
> 
> --  
> You received this message because you are subscribed to a topic in the Google Groups "elasticsearch" group.  
> To unsubscribe from this topic, visit [https://groups.google.com/d/topic/elasticsearch/xPoCuSKkX40/unsubscribe](https://groups.google.com/d/topic/elasticsearch/xPoCuSKkX40/unsubscribe).  
> To unsubscribe from this group and all its topics, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/d4d778e1-ea2e-46e8-b77e-9d7926300343%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/d4d778e1-ea2e-46e8-b77e-9d7926300343%40googlegroups.com).  
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/E99E5DBA-0EAF-4F67-9B59-0434AA6B4B5A%40gmail.com](https://groups.google.com/d/msgid/elasticsearch/E99E5DBA-0EAF-4F67-9B59-0434AA6B4B5A%40gmail.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![danielr](https://avatars.discourse-cdn.com/v4/letter/d/f17d59/32.png) [@danielr](https://discuss.elastic.co/u/danielr)\
**Post date:** [November 29, 2013, 3:40pm UTC](https://discuss.elastic.co/t/protecting-my-data/14637/7 "2013-11-29T15:40:24Z")

</div>

so all need to do is install chef cookbook and configure proxy in my  
run\_list?  
and it will work for my existing Elasticsearch installation?

On Friday, November 29, 2013 12:42:11 AM UTC+2, Karel Minařík wrote:

> No, you can install just the proxy with the Chef cookbook, or you can  
> extract the configuration and set up Nginx separately.
> 
> Karel
> 
> On 28. 11. 2013, at 22:52, DanielR \<[danielr...@gmail.com](mailto:danielr...@gmail.com) \<javascript:\>\>  
> wrote:
> 
> I think i got it!  
> but what if a already have ES installed.  
> Do i really need to start all over again??
> 
> On Thursday, November 28, 2013 11:48:08 PM UTC+2, Karel Minařík wrote:
> 
> > I found this plugin supported by elasticsearch that can configure nginx
> > 
> > > for me.
> > > 
> > > [GitHub - sous-chefs/elasticsearch: Development repository for the elasticsearch cookbook](https://github.com/elasticsearch/cookbook-elasticsearch)
> > 
> > See the  
> > [GitHub - sous-chefs/elasticsearch: Development repository for the elasticsearch cookbook](https://github.com/elasticsearch/cookbook-elasticsearch#nginx-proxysection) of the README: the cookbook allows you to define the users and  
> > passwords, and automatically installs and configures Nginx with these  
> > settings. You can check it with the provided Vagrant configuration, or you  
> > can follow this tutorial:  
> > [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/tutorials/deploying-elasticsearch-with-chef-solo/)
> > 
> > For an example of denying methods in Nginx configuration, see e.g. this  
> > StackOverflow answer: [lua - nginx proxy\_pass based on whether request method is POST, PUT or DELETE - Stack Overflow](http://stackoverflow.com/a/8594977/95696)
> > 
> > Karel
> 
> --  
> You received this message because you are subscribed to a topic in the  
> Google Groups "elasticsearch" group.  
> To unsubscribe from this topic, visit  
> [https://groups.google.com/d/topic/elasticsearch/xPoCuSKkX40/unsubscribe](https://groups.google.com/d/topic/elasticsearch/xPoCuSKkX40/unsubscribe).  
> To unsubscribe from this group and all its topics, send an email to  
> [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com) \<javascript:\>.  
> To view this discussion on the web visit  
> [https://groups.google.com/d/msgid/elasticsearch/d4d778e1-ea2e-46e8-b77e-9d7926300343%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/d4d778e1-ea2e-46e8-b77e-9d7926300343%40googlegroups.com)  
> .  
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/a463d1af-b0a0-4197-9fbe-549762acb0bd%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/a463d1af-b0a0-4197-9fbe-549762acb0bd%40googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![karmi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/karmi/32/44951_2.png) [@karmi](https://discuss.elastic.co/u/karmi)\
**Post date:** [November 29, 2013, 4:03pm UTC](https://discuss.elastic.co/t/protecting-my-data/14637/8 "2013-11-29T16:03:22Z")

</div>

> so all need to do is install chef cookbook and configure proxy in my run\_list?

Yes, download the cookbook to the server (scp, `knife upload`, etc), and include "elasticsearch::proxy" in your run\_list.

Configure the Nginx proxy accordingly. See e.g. [https://github.com/elasticsearch/cookbook-elasticsearch/blob/master/Vagrantfile#L151-L153](https://github.com/elasticsearch/cookbook-elasticsearch/blob/master/Vagrantfile#L151-L153)

> and it will work for my existing Elasticsearch installation?

By default, it will point to `localhost:9200`, see [https://github.com/elasticsearch/cookbook-elasticsearch/blob/master/templates/default/elasticsearch\_proxy.conf.erb#L26](https://github.com/elasticsearch/cookbook-elasticsearch/blob/master/templates/default/elasticsearch_proxy.conf.erb#L26)

By the way, do notice that the stock template doesn't provide any filtering of HTTP methods, as you originally wanted.

Karel

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/D3774514-C08B-4650-9D4C-3B17DAF0D1E4%40gmail.com](https://groups.google.com/d/msgid/elasticsearch/D3774514-C08B-4650-9D4C-3B17DAF0D1E4%40gmail.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![danielr](https://avatars.discourse-cdn.com/v4/letter/d/f17d59/32.png) [@danielr](https://discuss.elastic.co/u/danielr)\
**Post date:** [November 29, 2013, 4:13pm UTC](https://discuss.elastic.co/t/protecting-my-data/14637/9 "2013-11-29T16:13:48Z")

</div>

my node.json looks like this:

{

"run\_list": ["recipe[elasticsearch::plugins]",

```
            "recipe[elasticsearch::nginx]",

            "recipe[elasticsearch::proxy]" ],

"plugins" : {

  "karmi/elasticsearch-paramedic" : {}

},

"nginx" : {

  "users" : [{ "username" : "USERNAME", "password" : "PASSWORD" }],

  "allow_cluster_api" : true

}

```

}

and i keep getting the same error

"Chef::Exceptions::CookbookNotFound: Cookbook elasticsearch not found. If  
you're loading elasticsearch from another cookbook, make sure you configure  
the dependency in your metadata"

I think maybe I extracted it in the wrong directory..

On Friday, November 29, 2013 6:03:22 PM UTC+2, Karel Minařík wrote:

> > so all need to do is install chef cookbook and configure proxy in my  
> > run\_list?
> 
> Yes, download the cookbook to the server (scp, `knife upload`, etc), and  
> include "elasticsearch::proxy" in your run\_list.
> 
> Configure the Nginx proxy accordingly. See e.g.  
> [https://github.com/elasticsearch/cookbook-elasticsearch/blob/master/Vagrantfile#L151-L153](https://github.com/elasticsearch/cookbook-elasticsearch/blob/master/Vagrantfile#L151-L153)
> 
> > and it will work for my existing Elasticsearch installation?
> 
> By default, it will point to `localhost:9200`, see  
> [https://github.com/elasticsearch/cookbook-elasticsearch/blob/master/templates/default/elasticsearch\_proxy.conf.erb#L26](https://github.com/elasticsearch/cookbook-elasticsearch/blob/master/templates/default/elasticsearch_proxy.conf.erb#L26)
> 
> By the way, do notice that the stock template doesn't provide any  
> filtering of HTTP methods, as you originally wanted.
> 
> Karel

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/5f58f846-04c5-41dd-937d-4d09df940db7%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/5f58f846-04c5-41dd-937d-4d09df940db7%40googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![karmi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/karmi/32/44951_2.png) [@karmi](https://discuss.elastic.co/u/karmi)\
**Post date:** [November 29, 2013, 4:23pm UTC](https://discuss.elastic.co/t/protecting-my-data/14637/10 "2013-11-29T16:23:48Z")

</div>

> and i keep getting the same error
> 
> "Chef::Exceptions::CookbookNotFound: Cookbook elasticsearch not found. If you're loading elasticsearch from another cookbook, make sure you configure the dependency in your metadata"
> 
> I think maybe I extracted it in the wrong directory..

Yes, that might be true -- maybe follow some tutorial from Opscode to set up your system correctly.

Karel

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/B3ED98AA-D019-41C7-9CE3-28386D6CB8A0%40gmail.com](https://groups.google.com/d/msgid/elasticsearch/B3ED98AA-D019-41C7-9CE3-28386D6CB8A0%40gmail.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![danielr](https://avatars.discourse-cdn.com/v4/letter/d/f17d59/32.png) [@danielr](https://discuss.elastic.co/u/danielr)\
**Post date:** [December 1, 2013, 6:32am UTC](https://discuss.elastic.co/t/protecting-my-data/14637/11 "2013-12-01T06:32:23Z")

</div>

Gave up on the cookbook..  
I just went and installed nginx myself.

If i got that right, I need to use ngx\_http\_dav\_module and deny PUT and  
DELETE requests, Right?

But no i have a different problem!

On Friday, November 29, 2013 6:23:48 PM UTC+2, Karel Minařík wrote:

> > and i keep getting the same error
> > 
> > "Chef::Exceptions::CookbookNotFound: Cookbook elasticsearch not found.  
> > If you're loading elasticsearch from another cookbook, make sure you  
> > configure the dependency in your metadata"
> > 
> > I think maybe I extracted it in the wrong directory..
> 
> Yes, that might be true -- maybe follow some tutorial from Opscode to set  
> up your system correctly.
> 
> Karel

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/e7b6d986-355e-4164-b54c-879e7d7ccab1%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/e7b6d986-355e-4164-b54c-879e7d7ccab1%40googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![jprante](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jprante/32/44941_2.png) [@jprante](https://discuss.elastic.co/u/jprante)\
**Post date:** [December 1, 2013, 10:13am UTC](https://discuss.elastic.co/t/protecting-my-data/14637/12 "2013-12-01T10:13:13Z")

</div>

It's easy as that

server {  
location / { limit\_except PUT DELETE {  
proxy\_pass [http://127.0.0.1:9200](http://127.0.0.1:9200);  
}  
}}

Jörg

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CAKdsXoHmPGqvW4gGTzFOviLbuS\_p\_wYGgZpVov%2BM8c8gEiO%2BPA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAKdsXoHmPGqvW4gGTzFOviLbuS_p_wYGgZpVov%2BM8c8gEiO%2BPA%40mail.gmail.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![danielr](https://avatars.discourse-cdn.com/v4/letter/d/f17d59/32.png) [@danielr](https://discuss.elastic.co/u/danielr)\
**Post date:** [December 1, 2013, 9:26pm UTC](https://discuss.elastic.co/t/protecting-my-data/14637/13 "2013-12-01T21:26:50Z")

</div>

10X!  
that worked 🙂

On Sunday, December 1, 2013 12:13:13 PM UTC+2, Jörg Prante wrote:

> It's easy as that
> 
> server {  
> location / { limit\_except PUT DELETE {  
> proxy\_pass [http://127.0.0.1:9200](http://127.0.0.1:9200);  
> }  
> }}
> 
> Jörg

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/8d78b939-7601-48e4-96ba-6b19e8853ba6%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/8d78b939-7601-48e4-96ba-6b19e8853ba6%40googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 2:03am UTC](https://discuss.elastic.co/t/protecting-my-data/14637/14 "2017-07-06T02:03:59Z")

</div>


