时间: 2011-09-18 - 分类: 榆树网-系统, 榆树网-网络 - 无评论 - 3,687 views
昨天开始测试ZCS多Mailbox服务器时的部署,下面对部署过程中的一些体会记录下来:
1、安装第二台Mailbox时可以不创建管理员帐号,通过原来的管理员在帐号访问任何一台Mailbox服务器都可以看到其他服务器状态,创建用户系统自动分配Mailbox,估计根据用户数情况,尽量平衡一些。
2、对于HTTP访问,可以访问任何一台Mailbox服务器,待验证通过后将重新定向到真实的Mailbox服务器中(即:用户数据所在的Mailbox服务器)。
3、对于POP/IMAP服务,由于不支持定向,所以验证通过后,会提示:-ERR operation sent to wrong host (you want ‘zimbra-mailbox-02.xxx.cn’),还得手工修改POP/IMAP的服务器地址,于是需要使用Zimbra-Proxy来协助了。
Read the rest of this entry »
Tags: IMAP, nginx, POP3, ZCS, Zimbra
时间: 2011-06-10 - 分类: 榆树网-系统 - 无评论 - 592 views
由于性能问题,将Web server从Apache切换成Nginx,通过修改rewrite规则后,网站工作正常,但是却无法登陆后台,切换成Apache就完全正常。
Read the rest of this entry »
Tags: Discuz, IPv4, IPv6, nginx, 后台
时间: 2010-11-09 - 分类: 榆树网-系统 - 无评论 - 846 views
From: http://kovyrin.net/2006/11/01/nginx-x-accel-redirect-php-rails/
Sometimes you may need to implement controlled downloads when all downloads requests being sent to your script and then this script decides what to do: to send some file to the user or to show some access denied page or, maybe, do something else. In lighttpd server it can be done by returning X-Sendfile header from script. Nginx have its own implementation of such idea using X-Accel-Redirect header. In this short post I will try to describe how to use this feature from PHP and Rails applications.
Read the rest of this entry »
Tags: nginx, Proxy, 代理, 反向代理
时间: 2010-11-08 - 分类: 榆树网-系统 - 无评论 - 762 views
这个文章不错,原来Nginx的proxy_pass可以这么用。
We use nginx and its features a lot in Scribd. Many times in the last year we needed some pretty interesting, but not supported feature – we wanted nginx X-Accel-Redirect functionality to work with remote URLs. Out of the box nginx supports this functionality for local URIs only. In this short post I want to explain how did we make nginx serve remote content via X-Accel-Redirect. Read the rest of this entry »
Tags: nginx, Proxy, X-sendfile, 代理, 反向代理
时间: 2009-11-14 - 分类: 榆树网-网络 - 1 评论 - 663 views
Nginx作为一个优秀的Web服务器、邮件代理和反向代理软件应用越来越广,口碑也很好,我有幸在07年接触了这个东西,觉得配置很灵活,也很简洁,易懂,所以在一些机器上一直用他。
Read the rest of this entry »
Tags: Apache, nginx, Web Server
时间: 2009-10-03 - 分类: 榆树网-系统 - 无评论 - 759 views
Nginx中通过FastCGI运行php的配置
location ~ .php$ {
fastcgi_pass 127.0.0.1:8888;
fastcgi_index index.php;
root /var/www/html;
include fastcgi.conf;
}
Read the rest of this entry »
Tags: nginx, php, 配置
时间: 2009-10-03 - 分类: 榆树网-系统 - 无评论 - 595 views
这阵子在折腾nginx的web服务器,自从看见网上有些老大讲nginx的性能N好,所以这两天在搞搞了,不过最想研究的就是nginx的泛域名 绑定,因为现在用的lighttpd服务器上也搞了个这样的设置,当然,一切操作都在VMware的虚拟机内搞了,一直觉得Vmware虚拟机是个伟大的 发明.
不过经过今天一天在虚拟机的研究,终于搞好了,系统环境是Debian 4的Linux, PHP Version 5.2.6, Nginx0.6.32手工编译,还有lighttpd-1.4-19编译的spawn-fcgi 。
Read the rest of this entry »
Tags: nginx, rwrite