基于 Linux nginx 反向代理服务器的应用讨论摘 要 随着 Web 2
0 时代的到来,Web 服务器的访问者数量快速增加
服务器的 CPU、I/O 处理能力很快成为企业业务增长的瓶颈,此时可以通过多台服务器提供网络服务解决问题
反向代理服务器,提供一个既可以提高系统性能又可以解决后期的动态扩展的方案
反向代理服务器是相对于正向代理服务器而言的,反向代理的对象是服务器集群
通过反向代理服务器实现多台服务器协作提供不同的服务,但对于客户端表现为一台服务器
本设计采纳 nginx 实现,主要是利用 nginx 的高并发连接支持的特点,在中小型企业中是一个兼顾性能和成本的不错选择
本文主要讨论了在 Linux 平台下通过 nginx 的反向代理功能来实现负载均衡的方法
通过在后端搭建多台 Web 服务器实现负载均衡,通过搭建MySQL 数据库和 FTP 服务器实现动、静态和静态附件的分离
关键字 Nginx,反向代理,负载均衡ABSTRACTWith the arrival of the era of Web 2
0,the number of visitors of the Web server increases rapidly
Server CPU and I/O processing power soon becomes the bottleneck of enterprise business growth,now we can solve the problem through network services which offered by multiple servers
Reverse proxy server,providing a plan which can improve system performance and solve dynami