Re: Performance penalty when using regular expressions in server_name?

2014-01-29 Thread Igor Sysoev
On Jan 29, 2014, at 23:52 , Igor Sverkos wrote: > Hi, > > let assume that we run the following domains: > > - agoodexample.org > - agoodexmaple.com > - agoodexample.net > - a-good-example.org > - a-good-example.com > - a-good-example.net > > Our main site should be www.a-good-example.com -- peo

Will nginx decompress a compressed request

2014-01-29 Thread Rv Rv
>From this thread on the mailing list >http://forum.nginx.org/read.php?11,96472,214266 , it appears that nginx does >not support decompressing HTTP request from a client. The thread however is 2 >years old and am wondering if there have been any changes. I have not found >any though in the docu

How to control the order of execution modules in nginx

2014-01-29 Thread Rv Rv
From http://www.evanmiller.org/nginx-modules-guide.html, "The order of their execution is determined at compile-time". Is there a way to control this. ngx_modules.c has the list and order of execution. How do I change the order of execution of modules within a particular phase e.g. if I have thr

Re: Performance penalty when using regular expressions in server_name?

2014-01-29 Thread itpp2012
A different way would to use Lua and an alias table, for a dynamic site I use this to allow a site multiple aliases all directing to the same root, its a simple array with 2 lines for each main site, 1 as server_name and line 2 endless aliases. Its fast and no need to edit nginx.conf just edit a pl

a NGINX Summit 2/25 in San Francisco

2014-01-29 Thread Sarah Novotny
Hello all! I’d like to invite you to join the Nginx, Inc. team for our first User Summit February 25th at Dogpatch Studios in San Francisco. The highlights include 2 formal presentations by the NGINX FOSS project and Nginx, Inc. founder, Igor Sysoev, and well known module developer in the NG

Performance penalty when using regular expressions in server_name?

2014-01-29 Thread Igor Sverkos
Hi, let assume that we run the following domains: - agoodexample.org - agoodexmaple.com - agoodexample.net - a-good-example.org - a-good-example.com - a-good-example.net Our main site should be www.a-good-example.com -- people coming from any other mentioned domain/combination should be re

warning C4701 src\http\ngx_http_request.c(728)

2014-01-29 Thread itpp2012
src\http\ngx_http_request.c(728) : warning C4701: potentially uninitialized local variable 'data' used VC 2010. >From full source nginx-01e2a5bcdd8f Posted at Nginx Forum: http://forum.nginx.org/read.php?2,246969,246969#msg-246969 ___ nginx mailing l