Using Nginx , With the following configuration I can make user authentication for kibana 4 version.But If I provide my username and password to user then all my information becomes accessible.
How can I make my elastic search node available for public with security?
server {
listen *:80;
server_name myserver.com;
location / {
proxy_pass http://myserver.com:5601;
auth_basic "Restricted";
auth_basic_user_file /etc/nginx/.htpasswd;
}
}
Any help would be highly appreciated.