[LearnAdmin] Kibana4 apache configuration with authentication

4 views
Skip to first unread message

Naresh Surampudi

unread,
Sep 4, 2015, 5:05:04 AM9/4/15
to learnadmin+g...@googlegroups.com

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 dev...@keas.com
        ServerName logweb1.keas.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


--
Posted By Naresh Surampudi to LearnAdmin at 9/04/2015 02:35:00 PM
Reply all
Reply to author
Forward
0 new messages