Nginx是一个开源的反向代理与负载均衡服务器,我们可以通过它来实现对domino server的反向代理与负载均衡,如图所示用户的http请求到达mailclient.acmehk.com后, Nginx会将该请求发往domino server 1或者domino server 2,而用户访问的URL不会被重定向到domino server 1或者domino server 2的ip。
同样Nginx不光实现了http的反向代理,对于pop3等协议的反向代理也有实现。
Attached steps for Nginx installation and configuration.
2. change directory to nginx source code. cd nginx-1.2.3 3.prepare for compile. ./configure
4.complile nginx make 5.install nginx. make install
6.edit nginx configuration file, reference to sample as below. vi /usr/local/nginx/conf/nginx.conf
worker_rlimit_nofile 51200;
events { use epoll;
worker_connections 51200; }
http {
keepalive_timeout 120;
tcp_nodelay on;
upstream mailclient.acmehk.com { #domino server1 information in cluster server 9.123.159.49:80; #domino server2 information in cluster server 9.123.159.153:80; }
server { #nginx listening port. listen 80; #nginx server host name server_name mailclient.acmehk.com;
添加新评论5 条评论
2018-01-19 09:36
2017-12-27 12:37
2017-12-04 11:36
2017-11-24 20:58
2017-11-24 15:52