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/l