1、配置 proxy
upstream kibana {
ip_hash;
server 192.168.32.128:5601;
}
server {
listen 8080;
server_name kibana.ops.com kibana2.ops.com;
location / {proxy_pass http://kibana;}
}
1、配置 proxy
upstream kibana {
ip_hash;
server 192.168.32.128:5601;
}
server {
listen 8080;
server_name kibana.ops.com kibana2.ops.com;
location / {proxy_pass http://kibana;}
}