Kibana4 apache configuration with authentication


We need to configure httpd to listen on port 80 which does a reverse proxy to localhost on 5601.
Make sure kibana is listening only on internal port before this settings are done .


        ServerAdmin devops@learnadmin.com
        ServerName kibana.learnadmin.com

        DocumentRoot /var/www/auth

       
            AuthType Basic
            AuthName "Authentication Required"
            AuthUserFile "/var/www/auth/htpasswd"
            Require valid-user
       

        ProxyPass / http://localhost:5601/
        ProxyPassReverse / http://localhost:5601/



Use below command to create a htpasswd file and enable authentication 
htpasswd -c /var/www/auth/htpasswd devops

3 comments:

Web Designers Pitampura said...

Very informative, keep posting such good articles, it really helps to know about things.

savitha singh said...

In coming years, cloud computing is going to rule the world. The cloud based CRM tool provider like Salesforce have massive demand in the market. Thus talking Amazon Web Services Training in Chennai from reputed Amazon Web Services Training will ensure bright career prospects for aspiring professionals.

Ramya Krishnan said...

Nice Post, Thanks for sharing your information about cloud computing . it is very useful. Thanks.
Oracle DBA Training