nginx控制kibana登录,设置用户名密码
安装httpd
下面展示一些 内联代码片。
yum -y install httpd
yum -y install httpd
二配置nginx文件 /opt/nginx/conf/nginx.conf
下面展示一些 内联代码片。
vim /opt/nginx/conf/nginx.conf
worker_processes 1;
events {
worker_connections 1024;
}
http {
include mime.types;
default_type application/octet-stream;
log_format main '$remote_addr - $remote_user [$time_local] "$request"'
'$status $body_bytes_sent "$http_referer"'
'"$http_user_agent""$http_x_forwarded_for"';
sendfile on;
keepalive_timeout 65;
server {
listen 5609;
access_log /opt/nginx/logs/kibana_access.log main;
error_log /opt/nginx/logs/kibana_error.log error;
location / {
auth_bas

本文介绍了如何在Linux CentOS系统上安装httpd,并详细讲解了如何配置nginx配置文件 `/opt/nginx/conf/nginx.conf` 以实现对kibana的访问控制,包括设置用户名和密码,确保kibana登录的安全性。
最低0.47元/天 解锁文章
816

被折叠的 条评论
为什么被折叠?



