title: Disable delete method by apache and nginx on elasticsearch
body: <p>I want to disable Delete operation on my elasticsearch.From somewhere i get to know to make proxy my ES behind Apache or Nginx and configure it to deny all DELETE HTTP requests.
                I am unable to do that can please someone tell me how can stop delete method on my ES.</p>
  
  <p>Below I have written in my config file:</p>
  
  <pre><code>       &lt;VirtualHost *:80&gt;
  
  ServerName localhost
  ServerAdmin localhost
  ServerAlias localhost
      &lt;Directory "/var/www/"&gt;
   AllowOverride All
      Order allow,deny
      Allow from all
  
  
       &lt;Limit  DELETE&gt;
              order deny,allow
              deny from all
      &lt;/Limit&gt;
  
  &lt;/Directory&gt;
  </code></pre>
  
  <p>
  If i am doing something wrong please let me know.
      Thanks in advance.</p>