The patch against 0.8.20. Usage examples: server { server_name ~^(www\.)?(?<name>.+)$; root $name; } location ~^(?<script_name>/.+\.php)(?<path_info>.*)$ { fastcgi_param SCRIPT_FILENAME /path/to/php$script_name; fastcgi_param PATH_INFO $path_info; -- Igor Sysoev http://sysoev.ru/en/by Igor Sysoev - Nginx Mailing List - English
On Fri, Nov 13, 2009 at 11:37:54PM +0300, Igor Sysoev wrote: > On Fri, Nov 13, 2009 at 11:15:55PM +0300, Vitaly Puzrin wrote: > > > Есть форум, куда юзеры льют картинки и прочую лабуду. Естественно, > > каждый называет файлы "как умеет". Сейчас "настоящие" имеby Igor Sysoev - Nginx Mailing List - Russian
On Fri, Nov 13, 2009 at 11:15:55PM +0300, Vitaly Puzrin wrote: > Есть форум, куда юзеры льют картинки и прочую лабуду. Естественно, > каждый называет файлы "как умеет". Сейчас "настоящие" имена хранятся > в базе, а на диске имена содержby Igor Sysoev - Nginx Mailing List - Russian
On Fri, Nov 13, 2009 at 06:29:05AM -0500, shebeko wrote: > Помогите плиз. Как-то туго у меня с регулярными выражениями. > Как бы написать такой конфиг, в котором бы отдавались только те файлы , которые явно разрешены. > Т.е. только файлы с явноby Igor Sysoev - Nginx Mailing List - Russian
On Fri, Nov 13, 2009 at 09:58:10AM +0100, Omar Abo-Namous wrote: > i was asking myself: does it really require any change on the server side? Yes. A lot of changes. > Am 13.11.2009 09:26, schrieb Johan Bergström: > > Hey, > > please don't see this as a feature request - I just wanted to inform > > those who've missed the news about SPDY, an interesting new > > aby Igor Sysoev - Nginx Mailing List - English
On Fri, Nov 13, 2009 at 09:26:38AM +0100, Johan Bergström wrote: > Hey, > please don't see this as a feature request - I just wanted to inform > those who've missed the news about SPDY, an interesting new > alternative protocol to HTTP. There are of course a plethora of > alternatives even in this part of development, but this actually has > code you (soon) can compileby Igor Sysoev - Nginx Mailing List - English
On Thu, Nov 12, 2009 at 10:39:49PM +0300, Роман wrote: > вернее ведет себя странно > отвечая вот так > > unknown directive "gzip_static" > unknown directive "stub_status" > > этож модули > а по http отдает, но это же вроди тоже модуль > > в обем неясенby Igor Sysoev - Nginx Mailing List - Russian
On Thu, Nov 12, 2009 at 05:39:09AM -0500, peterneillewis wrote: > Then it fails with: > > ./configure: error: the HTTP rewrite module requires the PCRE library. > You can either disable the module by using --without-http_rewrite_module > option, or install the PCRE library into the system, or build the PCRE library > statically from the source with nginx by using --with-pcre= oby Igor Sysoev - Nginx Mailing List - English
On Thu, Nov 12, 2009 at 03:43:12AM -0500, Greg wrote: > Всем привет! > У нас проект с миллионами хитов в сутки, посему задумали снять статику с апача и отдать ее nginx'у. > До этого nginx я не использовал и это мой первый опыт. > Вот конфиг: > > serby Igor Sysoev - Nginx Mailing List - Russian
On Thu, Nov 12, 2009 at 09:14:36AM +0100, Juergen Gotteswinter wrote: > Strange, i tried to compile it with ./configure --with-file-aio but the > error message is the same. did you use the original centos kernel or a > self baked one? > > if its the original kernel in you case, are you sure that aio was active? Sorry, I was wrong. I had two VirtualBox installations: Debian andby Igor Sysoev - Nginx Mailing List - English
On Wed, Nov 11, 2009 at 10:29:33AM -0800, Gabriel Ramuglia wrote: > *) Bugfix: segmentation fault and infinite looping in resolver. > > *) Bugfix: in resolver. > Thanks to Artem Bokhan. > > Do these relate to a problem whereby, when the system's resolver > becomes unavailable, it may cause that nginx child to hang and spin at > 100% cpu? Yes. > If so, fantastic :by Igor Sysoev - Nginx Mailing List - English
On Wed, Nov 11, 2009 at 01:44:32PM +0100, Juergen Gotteswinter wrote: > 2.6.18-164.el5 but redhat does a lot of backporting. i tried to compile > it on a centos 5 machine with ./configure --with-file-aio and get this > > checking for Linux AIO support ... not found > > ./configure: no supported file AIO was found > Currently file AIO is supported on FreeBSD 4.3+ and Linuxby Igor Sysoev - Nginx Mailing List - English
Изменения в nginx 0.8.24 11.11.2009 *) Исправление: nginx всегда добавлял строку "Content-Encoding: gzip" в заголовок 304-ых ответов модуля ngx_http_gzip_static_module. *) Исправление: nginx не собирался без параметра --with-debug;by Igor Sysoev - Nginx Mailing List - Russian
On Wed, Nov 11, 2009 at 09:27:22AM -0500, brianmercer wrote: > Igor Sysoev Wrote: > ------------------------------------------------------- > > On Mon, Nov 09, 2009 at 05:34:11PM +0700, Glen > > Lumanau wrote: > > > > > So I can't use such a configuration > > > > > > server { > > > listen 443; > > > rewrite (^.*) https://www.mby Igor Sysoev - Nginx Mailing List - English
Changes with nginx 0.8.24 11 Nov 2009 *) Bugfix: nginx always added "Content-Encoding: gzip" response header line in 304 responses sent by ngx_http_gzip_static_module. *) Bugfix: nginx could not be built without the --with-debug option; the bug had appeared in 0.8.23. *) Bugfix: the "unix:" parameter of the &by Igor Sysoev - Nginx Mailing List - English
On Wed, Nov 11, 2009 at 07:04:58PM +0600, Artem Bokhan wrote: > > > *) Исправление: в resolver'е. > > Спасибо Артёму Бохану > Вроде бы не совсем правильно работает. > > dig @127.0.0.1 -x 127.0.0.1 > > 1.0.0.127.in-addr.arpa. 604800 IN PTR . > > --- > > telnet localhoby Igor Sysoev - Nginx Mailing List - Russian
On Wed, Nov 11, 2009 at 06:17:57PM +0500, diem wrote: > location ... { > rewrite ... break; > proxy_pass ... > proxy_cache ... > ... > } > > location ... { > image_filter ... > ... > } > > Примерно такую схему использую для генерации и кешироваby Igor Sysoev - Nginx Mailing List - Russian
On Wed, Nov 11, 2009 at 01:42:52PM +0200, Alex Vorona wrote: > 11.11.2009 13:12, Igor Sysoev wrote: > > Изменения в nginx 0.8.23 11.11.2009 > > *) Исправление: параметр "unix:" в директиве set_real_ip_from не > > работал без ещё одной директивыby Igor Sysoev - Nginx Mailing List - Russian
On Wed, Nov 11, 2009 at 12:50:03PM +0100, InterNetX - Juergen Gotteswinter wrote: > is it possible to use NGINX AIO on CentOS5, or is the CentOS5 Kernel too > old for this? What does "uname -r" show ? -- Igor Sysoev http://sysoev.ru/en/by Igor Sysoev - Nginx Mailing List - English
Изменения в nginx 0.8.23 11.11.2009 *) Безопасность: теперь SSL/TLS renegotiation запрещено. Спасибо Максиму Дунину. *) Исправление: listen unix domain сокет не наследовались во время обновления без перерыва. *)by Igor Sysoev - Nginx Mailing List - Russian
Changes with nginx 0.8.23 11 Nov 2009 *) Security: now SSL/TLS renegotiation is disabled. Thanks to Maxim Dounin. *) Bugfix: listen unix domain socket did not inherit while online upgrade. *) Bugfix: the "unix:" parameter of the "set_real_ip_from" directive did not without yet another directive with anby Igor Sysoev - Nginx Mailing List - English
On Tue, Nov 10, 2009 at 05:58:03PM -0500, Virtual_2 wrote: > Спасибо, это мне и надо > > Мдя был бы такой ящичек аппаратный - роутер на основе хост-хеадеров, который бы можно было бы конфигурить как тренднеты или зикселы - цены бы ему не было... &gby Igor Sysoev - Nginx Mailing List - Russian
On Mon, Nov 09, 2009 at 05:34:12PM +0000, Edward Hibbert wrote: > Sorry, typo. "takes about 1GB for 10L connections" should have read "takes about 1GB for 10K connections", i.e. almost an order of magnitude more than without SSL. According to ktrace, OpenSSL takes about 80K per connection just on the handshake phase. > -----Original Message----- > From: Edward Hibby Igor Sysoev - Nginx Mailing List - English
On Mon, Nov 09, 2009 at 07:17:24PM +0100, Jérôme Loyet wrote: > Hi all, > > How to use the nginx listen diective to listen on all interface (ipv4 > and ipv6) and on port 80 ? > > I thought "listen [::]:80;" would be enought but it seems that I have > to use both "listen 80;" and "listen [::]:80;" > > Is it the normal behaviour or a bugby Igor Sysoev - Nginx Mailing List - English
On Mon, Nov 09, 2009 at 02:08:00PM +0300, Maxim Dounin wrote: > Hello! > > On Mon, Nov 09, 2009 at 01:26:17PM +0300, Igor Sysoev wrote: > > > On Mon, Nov 09, 2009 at 01:10:27PM +0300, Maxim Dounin wrote: > > > > > Hello! > > > > > > On Mon, Nov 09, 2009 at 11:02:17AM +0300, Igor Sysoev wrote: > > > > > > > On Mon, Nov 09by Igor Sysoev - Nginx Mailing List - Russian
On Mon, Nov 09, 2009 at 01:40:40PM +0300, Михаил Монашёв wrote: > Здравствуйте, Игорь. > > >> > > При включении кэширования вот такая картина: > >> > > > >> > > last pid: 29642; load averages: 459.45, 178.48, 75.93 up 124+06:59:13 01:28:38 > >> > > 757 processesby Igor Sysoev - Nginx Mailing List - Russian
On Mon, Nov 09, 2009 at 05:34:11PM +0700, Glen Lumanau wrote: > So I can't use such a configuration > > server { > listen 443; > rewrite (^.*) https://www.mydomain.com$1 permanent; } > > ? The following configuration should work: server { listen 192.168.1.1:443; server_name mydomain.com; ssl on; ssl_certificate /path/to/wildcaby Igor Sysoev - Nginx Mailing List - English
On Mon, Nov 09, 2009 at 12:37:46PM +0300, Dmitry Koterov wrote: > > Возможные решения проблемы тут уже не раз обсуждались, наиболее > > привлекательным выглядит использование именованных captures. > Если я правильно понял, эти решения еще не реаby Igor Sysoev - Nginx Mailing List - Russian
On Sun, Nov 08, 2009 at 10:13:39AM +0300, Igor Sysoev wrote: > On Sun, Nov 08, 2009 at 04:21:21AM +0300, Maxim Dounin wrote: > > > Hello! > > > > On Sun, Nov 08, 2009 at 01:43:13AM +0300, Михаил Монашёв wrote: > > > > > Здравствуйте. > > > > > > При включении кэширования вот такаяby Igor Sysoev - Nginx Mailing List - Russian
On Mon, Nov 09, 2009 at 01:10:27PM +0300, Maxim Dounin wrote: > Hello! > > On Mon, Nov 09, 2009 at 11:02:17AM +0300, Igor Sysoev wrote: > > > On Mon, Nov 09, 2009 at 04:40:45AM +0300, Maxim Dounin wrote: > > > > > Hello! > > > > > > [...] > > > > > > > > Думаю, правильным решением будет пby Igor Sysoev - Nginx Mailing List - Russian
![]() |
![]() |
![]() |
![]() |
|