In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
After Kibana version 5.5, authentication function is no longer supported, that is to say, you can manage it directly by opening the page. It is not safe to think about it, but the official X-Pack certification is provided, but there is a time limit. After all, X-Pack is a commercial version.
Below I'll show you how to use the Nginx reverse proxy to implement kibana authentication.
Prerequisites:
Centos 7 source code compilation installation Nginx
Install Apache Httpd Password Generator
$ yum install httpd-tools -y
Generate Kibana authentication password
$ mkdir -p /usr/local/nginx/conf/passwd$ htpasswd -c -b /usr/local/nginx/conf/passwd/kibana.passwd Userrenwolecom GN5SKorJAdding password for user Userrenwolecom
Configure Nginx Reverse Proxy
Add the following content to the Nginx configuration file (or include it in the new configuration file):
$ vim /usr/local/nginx/conf/nginx.confserver {listen 10.28.204.65:5601;auth_basic "Restricted Access";auth_basic_user_file /usr/local/nginx/conf/passwd/kibana.passwd;location / {proxy_pass http://10.28.204.65:5601;proxy_http_version 1.1;proxy_set_header Upgrade $http_upgrade;proxy_set_header Connection 'upgrade';proxy_set_header Host $host;proxy_cache_bypass $http_upgrade; }}
Configuring Kibana
Cancel the following comment:
$ vim /usr/local/kibana/config/kibana.ymlserver.host: "10.28.204.65"
Restart Kibana and Nginx services to take effect
$ systemctl restart kibana.service$ systemctl restart nginx.service
Next, the browser visits http://103.28.204.65:5601/ and prompts for verification pop-up window. Enter the user password generated above to log in.
The above is all the content of this article, I hope to help everyone's study, but also hope that everyone a lot of support.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.