Securing kibana + elasticsearch

After some successful setup of Kibana + es for fluentd there’s a need to secure whole website. So I decided to use nginx and basic auth. I assume you have standard configuration – with es running on localhost:9200.

and now modify nginx config:

One thought on “Securing kibana + elasticsearch

  1. Hi,
    You should restrict access to .htpasswd file.
    Other wise users can download the file.
    location ~ /\. { deny all; }

Leave a Reply

Your email address will not be published. Required fields are marked *

1 × 10 =