On Thu, Dec 23, 2010 at 01:46:15AM -0500, garry.lgr wrote: > http://blog.chinaunix.net/photo/6889_101223144343.jpg > I drawed a picture according to the code of the nginx-0.9.1. The top > part in the picture is built in the ngx_http_block of ngx_http.c. > > When the ngx_http_merge_servers function at line 277 is called, the > ctx->srv_conf have hold the address of cf->cby Igor Sysoev - Nginx Mailing List - English
On Wed, Dec 22, 2010 at 12:50:01PM +0300, Alexander Kochetov wrote: > >> Можете сделать примерно > >> так: > >> > >> location / {...} > >> location ^~ /protected { > >> auth_basic "Protected"; > >> auth_basic_user_file /home/usby Igor Sysoev - Nginx Mailing List - Russian
On Tue, Dec 21, 2010 at 04:44:22PM +0500, Mikhail Mazursky wrote: > Здравствуйте. > > location ~ ^/(?<file>a|b|c)$ { > alias /www/$file.html; > } > > # /usr/local/etc/rc.d/nginx configtest > Performing sanity check on nginx configuration: > : the "alias" directive must use captures inside location given > by regular expression in /usrby Igor Sysoev - Nginx Mailing List - Russian
On Mon, Dec 20, 2010 at 06:24:26PM -0500, Akins, Brian wrote: > On 12/20/10 5:56 PM, "Eugaia" <ngx.eugaia@gmail.com> wrote: > > > Each worker process will see virtual data usage of 50MB for the data, > > but unless I'm mistaken, the overall system usage should still only be > > 50MB because the data is shared in the same physical memory by the OS > >by Igor Sysoev - Nginx Development
On Mon, Dec 20, 2010 at 01:29:08PM -0800, David Newman wrote: > When attempting https connections to the server mail.cvcbike.org that > previously ran Apache and now runs nginx with the same certs, Firefox > browsers return this error: > > Peer's Certificate has been revoked. > > (Error code: sec_error_revoked_certificate) > > Other browsers (IE, Safari, Chrome) workby Igor Sysoev - Nginx Mailing List - English
On Mon, Dec 20, 2010 at 12:57:12PM -0800, David Newman wrote: > On 12/20/10 10:17 AM, Igor Sysoev wrote: > > > The problem is probably in an intermediate path directory. > > You should check that every directory in these pathes > > /usr/local/mailman/archives/public/ and /usr/local/mailman/archives/private/ > > has "r-x" rights for others. > > Bingoby Igor Sysoev - Nginx Mailing List - English
On Mon, Dec 20, 2010 at 09:41:28PM +0300, Igor Sysoev wrote: > On Mon, Dec 20, 2010 at 01:29:20PM -0500, Akins, Brian wrote: > > > The attached patch allows you to change the geoip cache option in the > > config. For example: > > > > geoip_country /usr/share/GeoIP/GeoIP.dat mmap; > > > > Will use GEOIP_MMAP_CACHE. The default is memory ( GEOIP_MEMORYby Igor Sysoev - Nginx Development
On Mon, Dec 20, 2010 at 01:29:20PM -0500, Akins, Brian wrote: > The attached patch allows you to change the geoip cache option in the > config. For example: > > geoip_country /usr/share/GeoIP/GeoIP.dat mmap; > > Will use GEOIP_MMAP_CACHE. The default is memory ( GEOIP_MEMORY_CACHE ), > the same as today. The mmap option can make a large difference in memory > usage whby Igor Sysoev - Nginx Development
On Mon, Dec 20, 2010 at 10:12:34AM -0800, David Newman wrote: > On 12/20/10 9:29 AM, Igor Sysoev wrote: > > > What does "ls -ld /usr/local/mailman/archives/private/somelist" show ? > > drwxrwxr-x 37 _nginx mailman 3072 Dec 2 03:27 > /usr/local/mailman/archives/private/somelist/ > > Just now I tried changing ownership of this directory to mailman and >by Igor Sysoev - Nginx Mailing List - English
On Mon, Dec 20, 2010 at 09:09:12AM -0800, David Newman wrote: > On 12/20/10 8:13 AM, Igor Sysoev wrote: > > > >> from /usr/local/mailman/archives/public: > >> > >> lrwxr-xr-x 1 root mailman 43 Dec 19 14:51 somelist@ -> > >> /usr/local/mailman/archives/private/somelist > > > > What does "ls -l /usr/local/mailman/archives/privateby Igor Sysoev - Nginx Mailing List - English
On Sun, Dec 19, 2010 at 02:54:38PM -0800, David Newman wrote: > Hi Igor and nginx fans, > > Back in October Igor helped get me going with Mailman on nginx. Things > are mostly working fine, except I just noticed I'm getting 403 forbidden > errors when trying to access Mailman archives. Web access to other parts > of Mailman (info and admin pages) works OK. > > How to corby Igor Sysoev - Nginx Mailing List - English
On Sat, Dec 18, 2010 at 07:32:14PM +0300, nalim[1nc] wrote: > Здравствуйте. > > Есть следующая конструкция: > if ($geoip_country_code ~ ^(RU|UA)$) { > rewrite ^ http://www.test.ru$request_uri?; > } > > Сразу извиняюсь за глупый вопрос, но как сделать, чтобы это правило > игнby Igor Sysoev - Nginx Mailing List - Russian
On Fri, Dec 17, 2010 at 04:21:17PM +0300, Роман wrote: > Сравнивал сжатие gzip и 7z > 7z выигрывает на несколько килобайт > > возник вопрос - а можно ли или планируется ввести поддержку сжатия lzma? > > я не знаю зависит ли это от браузера илby Igor Sysoev - Nginx Mailing List - Russian
On Thu, Dec 16, 2010 at 02:48:21PM +0300, Aleksandr Sytar wrote: > Добрый день, > > Есть у меня несколько JS и CSS файлов, которые собираются в один файл > через ssi с таким вот конфигом: > > location /css { > location /css/style.css { > default_type text/css; > expires 1d; >by Igor Sysoev - Nginx Mailing List - Russian
On Wed, Dec 15, 2010 at 11:37:24PM +0300, Peter Leonov wrote: > On 15.12.2010, at 16:33, Igor Sysoev <igor@sysoev.ru> wrote: > > > … и видите Рамблер. > > А что дальше? Что же мне делать дальше, Игорь? ;) А дальше всё просто - говорите, что на встречу по nginx'у. -- Игорьby Igor Sysoev - Nginx Mailing List - Russian
On Wed, Dec 15, 2010 at 03:09:14PM +0300, Igor Sysoev wrote: > On Wed, Dec 15, 2010 at 01:57:58PM +0200, Eugaia wrote: > > > Hi, > > > > On 15/12/2010 13:50, Igor Sysoev wrote: > > > Yes, mention of "cookie" is useful here, since this is the main cause > > > of these errors. "Header line or cookie too big". I use "line" >by Igor Sysoev - Nginx Mailing List - English
On Mon, Nov 29, 2010 at 11:28:54PM +0300, Igor Sysoev wrote: > 16 декабря, в четверг, в 19:30 в Рамблере пройдёт встреча nginx user > group (назовём это так :). Адрес: http://www.rambler.ru/doc/addr.shtml > Ближе к встрече я опишу нетривиальный алгоритм прохода по бизнес-ценby Igor Sysoev - Nginx Mailing List - Russian
On Wed, Dec 15, 2010 at 01:57:58PM +0200, Eugaia wrote: > Hi, > > On 15/12/2010 13:50, Igor Sysoev wrote: > > Yes, mention of "cookie" is useful here, since this is the main cause > > of these errors. "Header line or cookie too big". I use "line" > > because nginx has another couse of 400 error: large header. > > "Header line isby Igor Sysoev - Nginx Mailing List - English
On Wed, Dec 15, 2010 at 01:41:42PM +0200, Eugaia wrote: > On 15/12/2010 13:35, Igor Sysoev wrote: > > On Wed, Dec 15, 2010 at 01:21:19PM +0200, Eugaia wrote: > > > >> Hi, > >> > >> Nice patch. I don't know if 'Header line too long' might be better than > >> 'Too long header line'. Both make sense, but the former sounds a bit > >> betteby Igor Sysoev - Nginx Mailing List - English
On Wed, Dec 15, 2010 at 02:35:58PM +0300, Igor Sysoev wrote: > On Wed, Dec 15, 2010 at 01:21:19PM +0200, Eugaia wrote: > > > Hi, > > > > Nice patch. I don't know if 'Header line too long' might be better than > > 'Too long header line'. Both make sense, but the former sounds a bit > > better to me. > > > > Just an idea. > > May be &quoby Igor Sysoev - Nginx Mailing List - English
On Wed, Dec 15, 2010 at 01:21:19PM +0200, Eugaia wrote: > Hi, > > Nice patch. I don't know if 'Header line too long' might be better than > 'Too long header line'. Both make sense, but the former sounds a bit > better to me. > > Just an idea. May be "Header line is too long" ? -- Igor Sysoev http://sysoev.ru/en/ ___________________________________________by Igor Sysoev - Nginx Mailing List - English
On Wed, Dec 15, 2010 at 01:35:17AM +0300, Igor Sysoev wrote: > On Tue, Dec 14, 2010 at 12:33:02PM -0500, Denis wrote: > > > > > This should be added to default server, as error 400 is generated > > before any server_name matching occurs. > > > > > > Yep, I added it to the default server. At least, it's listening as > > > > listen 80by Igor Sysoev - Nginx Mailing List - English
On Tue, Dec 14, 2010 at 11:28:39PM +0100, Sven 'Darkman' Michels wrote: > Hi, > > Am 14.12.2010 22:59, schrieb Igor Sysoev: > > Try > > > > - proxy_pass http://backend; > > + proxy_pass http://backend/; > > ok, now i get a loop... > > *1 rewrite or internal redirection cycle while internal redirect to "/test.jpg", > client:by Igor Sysoev - Nginx Mailing List - English
On Wed, Dec 15, 2010 at 01:35:17AM +0300, Igor Sysoev wrote: > On Tue, Dec 14, 2010 at 12:33:02PM -0500, Denis wrote: > > > > > This should be added to default server, as error 400 is generated > > before any server_name matching occurs. > > > > > > Yep, I added it to the default server. At least, it's listening as > > > > listen 80by Igor Sysoev - Nginx Mailing List - English
On Tue, Dec 14, 2010 at 12:33:02PM -0500, Denis wrote: > > This should be added to default server, as error 400 is generated > before any server_name matching occurs. > > > Yep, I added it to the default server. At least, it's listening as > > listen 80 default; > > > > Note that you may also bump client_header_buffer_size / > large_client_headeby Igor Sysoev - Nginx Mailing List - English
On Tue, Dec 14, 2010 at 10:36:31PM +0100, Sven 'Darkman' Michels wrote: > Hi there, > > i just got two small questions about using embedded perl: > first: i would like to "rewrite" the request using a perl module, since the > rewrite is a bit more than just regexp. I thought that using "internal_redirect" > is the right way to do, but i don't get working. &gby Igor Sysoev - Nginx Mailing List - English
On Tue, Dec 14, 2010 at 10:48:56PM +0200, Gena Makhomed wrote: > On 14.12.2010 20:51, Maxim Dounin wrote: > > > Права на каталог с логами root:wheel 755 - хорошие, годные (только > > нужно не забывать при вращении создавать файлы с owner'ом nginx > > перед USR1, а то воркерыby Igor Sysoev - Nginx Mailing List - Russian
On Tue, Dec 14, 2010 at 09:59:10PM +0200, Gena Makhomed wrote: > On 14.12.2010 20:51, Maxim Dounin wrote: > > > Права на каталог с логами root:wheel 755 - хорошие, годные (только > > нужно не забывать при вращении создавать файлы с owner'ом nginx > > перед USR1, а то воркерыby Igor Sysoev - Nginx Mailing List - Russian
Changes with nginx 0.7.68 14 Dec 2010 *) Bugfix: if there was a single server for given IPv6 address:port pair, then captures in regular expressions in a "server_name" directive did not work. *) Bugfix: a segmentation fault might occur in a worker process, if the "auth_basic" directive was used. Thaby Igor Sysoev - Nginx Mailing List - English
Изменения в nginx 0.7.68 14.12.2010 *) Исправление: если для пары IPv6-адрес:порт описан только один сервер, то выделения в регулярных выражениях в директиве server_name не работали. *) Исправление: приby Igor Sysoev - Nginx Mailing List - Russian
![]() |
![]() |
![]() |
![]() |
|