edogawaconan Wrote: ------------------------------------------------------- > On Wed, Dec 8, 2010 at 7:36 AM, speedfirst wrote: > > nginx/sbin/nginx -c nginx.conf > > > > > > will get segment fault > > I can't reproduce this either. Please provide > output of nginx/sbin/nginx -V > > Hey, I'm working on nginx dev for Zimbra. Here are my &by speedfirst - Nginx Mailing List - English
For example, nginx/sbin/nginx -c /opt/nginx/nginx.conf is OK, because /opt/nginx/nginx.conf is an absolute path However, nginx/sbin/nginx -c nginx.conf will get segment fault I debug the source code, the problem is located in the function "ngx_conf_full_name". Seems the cycle used in that function is not yet initialized when trying to get the full path.by speedfirst - Nginx Mailing List - English
I find two little bugs. Don't know whether others mentioned or not. 1. if the argument of nginx -c is a relative path, it wil trigger a segment fault. Meant to be implemented like that? Because since 0.5.x to current release contain this bug. 2. In nginx 0.9.x, the man is also "nginx 8". Meant to upgrade in some following revision?by speedfirst - Nginx Mailing List - English
Hey, in nginx 0.9.x, the man page is still "nginx 8". Could u upgrade that?by speedfirst - Nginx Mailing List - English
I carefully read the code of "ngx_set_env" and "ngx_set_environment". And I found that once "ngx_set_environment" is invoked, the arguments of "env" directive is put into "envrion", which makes those variables effective. However, this works well only when ngx_set_environment is invoked. And ngx_set_environment will be invoked only when new workby speedfirst - Nginx Mailing List - English
Hey, I noticed that the "env" directive in the main module is not an equivalent of "export" in bash or "putenv" in C stdlib. The variables defined by "env" seems only can be used by the embeded Perl module, right? The wiki doc for this directive is a little hard to understand. Let's make it simple. In which cases, the variables defined by "env"by speedfirst - Nginx Mailing List - English
What represents the unlimited value of client_max_body_size? Is it 0? The wiki of http core module say nothing about this. Thanks.by speedfirst - Nginx Mailing List - English
When I config nginx like this, it reports: "starting nginx...2010/10/12 11:44:04 14955#0: duplicate "143" address and port pair in /opt/nginx/nginx.conf.mail.imap:19" Is there something I did wrong or nginx doesn't support this? # IMAP proxy configuration # server { server_name test.com; listen 143; protocol imap;by speedfirst - Nginx Mailing List - English
Thanks for the reply, but I'm think you misunderstand my question. The question is NOT whether I can use multiple "server" blocks. What I to know is whether Nginx will merge multiple "server" blocks, which share the same listen and server name, into the single one. This is just like the "partial class" grammar in C#.by speedfirst - Nginx Mailing List - English
Is it possible to write a config like this? server { server_name www.example.com; location / { ... } } server { server_name www.example.com; listen 143; ssl on; ssl_certificate example.crt; ssl_certificate_key example.key; } That means I can config one domain with two separated server blocks. This feature is handy thus I can write a confby speedfirst - Nginx Mailing List - English
Hey, I'm deploying my mail server and use nginx as the mail proxy. I tend to use multiple http_auth servers to balance the load. Can I write multiple "http_auth" directives? Or can I use a upstream block to indicate those servers? Many thanks.by speedfirst - Nginx Mailing List - English