应用开发

使用Nginx+Tomcat+Keepalived 搭建高性能高可用性负载均衡集群

时间:2010-12-5 17:23:32  作者:数据库   来源:IT科技  查看:  评论:0
内容摘要:复制upstreamtomcat-portal{ serverxxx(你的tomcat安装的服务器的ip):8080; } serve

使用Nginx+Tomcat+Keepalived 搭建高性能高可用性负载均衡集群
复制upstream tomcat-portal {   server xxx(你的使用tomcat安装的高防服务器服务器的亿华云ip):8080;  }  server {   listen 80;  server_name xxxx(你项目访问的服务器租用域名);  location / {   proxy_pass http://tomcat-portal;  indexindex.html;  }  1.2.3.4.5.6.7.8.9.10.
copyright © 2025 powered by 益强资讯全景  滇ICP备2023006006号-31sitemap