On Sun, Oct 04, 2009 at 02:13:05AM -0400, anomalizer wrote: > > RewriteRule /catalog/(.*) /catalog/$1 > > RewriteRule /lib/(.*) /lib/$1 > > RewriteRule /skins/(.*) /skins/$1 > > RewriteRule /payments/(.*) /payments/$1 > > RewriteRule /images/(.*) /images/$1 > > RewriteRule /index\.php(.*) /index.php$1 > > RewriteRule /admin\.php(.*) /admin.php$1 &gby Igor Sysoev - Nginx Mailing List - English
On Sun, Oct 04, 2009 at 02:19:22PM +0400, Alex Hudich wrote: > Есть ли возможность в nginx проверить наличие или отсутствие определенных > заголовков (ну и проверить их значение если нужно) в запросе клиента и > перенаправить этот запрос в зависby Igor Sysoev - Nginx Mailing List - Russian
On Sat, Oct 03, 2009 at 04:02:58AM +0200, Hoang Hoang wrote: > Igor Sysoev wrote: > > Changes with nginx 0.8.17 28 Sep > > 2009 > > > > *) Security: now "/../" are disabled in "Destination" request header > > line. > > > > *) Change: now $host variable value is always low caseby Igor Sysoev - Nginx Mailing List - English
On Fri, Oct 02, 2009 at 01:07:24PM -0400, Jim Ohlstein wrote: > Hello, > > I'm seeing odd disk usage statistics for my cache. The cache is > primarily of small files (images, javascript, and css) and sits on a > 128GB SSD using ext2 file system mounted with "noatime" option. The > cache is all that the the drive is being used for at this time. > > The attachby Igor Sysoev - Nginx Mailing List - English
On Fri, Oct 02, 2009 at 11:24:29AM +0300, Полоневич Иван wrote: > Есть проблема с aio sendfile; > Не отрабатывает в конфиге директива и ругается на неправильное > значение, возможно я что-то упустил в рассылке, но поиск результатов не >by Igor Sysoev - Nginx Mailing List - Russian
On Thu, Oct 01, 2009 at 09:02:18PM -0400, jkolen wrote: > I have a rails app sitting behind nginx and every request is going to both of the mongrel instances. Pages are getting through. However, there are a few db intensive tasks that I don't want run two instances of. I've been playing with proxy_*_timeout and have turned proxy_next_upstream off and it still manages to duplicate each request.by Igor Sysoev - Nginx Mailing List - English
On Fri, Oct 02, 2009 at 11:34:57AM +0800, Mauro Stettler wrote: > hi > > i am currently experiencing some strange behavior if a user requests > our domain with a . in the end of the domain. the actual problem is > that our php code can't really get along with that . in the end of the > domain. so i tried creating an nginx rule that fixes this by doing a > redirect to the corby Igor Sysoev - Nginx Mailing List - English
Прилагаемый патч исправляет алгоритм в limit_req, теперь он соответствует leaky bucket. -- Игорь Сысоев http://sysoev.ruby Igor Sysoev - Nginx Mailing List - Russian
On Wed, Sep 30, 2009 at 12:50:08PM +0400, Maxim Dounin wrote: > Hello! > > On Wed, Sep 30, 2009 at 11:48:56AM +0400, Igor Sysoev wrote: > > > On Wed, Sep 30, 2009 at 11:34:54AM +0400, Alexander Azarov wrote: > > > > > Добрый день! > > > > > > У меня есть некоторое (небольшое) количество польby Igor Sysoev - Nginx Mailing List - Russian
On Wed, Sep 30, 2009 at 11:34:54AM +0400, Alexander Azarov wrote: > Добрый день! > > У меня есть некоторое (небольшое) количество пользователей, которые > жалуются, что иногда страницы сайта отдаются частично > недозагруженными. Это не "зby Igor Sysoev - Nginx Mailing List - Russian
On Wed, Sep 30, 2009 at 12:12:26AM +0400, Igor Sysoev wrote: > On Tue, Sep 29, 2009 at 12:05:37PM +0400, Igor Sysoev wrote: > > > On Sat, Sep 26, 2009 at 08:38:36PM -0400, marcusramberg wrote: > > > > > Hey > > > > > > Did you get anywhere with this issue? I am experiencing it as well with a new web node I'm trying to set up for iusethis.com, on a Sby Igor Sysoev - Nginx Mailing List - English
On Tue, Sep 29, 2009 at 11:26:35PM +0300, Vladislav Vladimirovich wrote: > Подскажите, пожалуйста, если кто уже пробовал, наиболее подходящие по > стабильности и скорости флаги оптимизации для компиляции nginx в gcc: > > 1. O? > 2. O2? > 3. O3? > 4. Os? > 5. -marchby Igor Sysoev - Nginx Mailing List - Russian
On Tue, Sep 29, 2009 at 12:05:37PM +0400, Igor Sysoev wrote: > On Sat, Sep 26, 2009 at 08:38:36PM -0400, marcusramberg wrote: > > > Hey > > > > Did you get anywhere with this issue? I am experiencing it as well with a new web node I'm trying to set up for iusethis.com, on a Sun T1000 running Debian. > > The bug has happened some time before the "bus error&quoby Igor Sysoev - Nginx Mailing List - English
On Tue, Sep 29, 2009 at 11:32:32AM -0400, zhijianpeng wrote: > I found that : > > #define NGX_LISTEN_BACKLOG 511 > > and use it as the backlog of listen() > > ls.backlog = NGX_LISTEN_BACKLOG; > if (listen(s, ls.backlog) == -1) { > > Does it mean that only 511 connection could be accept at the same time ? No, it means that up to 511 connections can be queuedby Igor Sysoev - Nginx Mailing List - English
On Tue, Sep 29, 2009 at 03:15:21PM +0400, Maxim Dounin wrote: > Hello! > > On Tue, Sep 29, 2009 at 01:11:17PM +0400, Igor Sysoev wrote: > > > On Tue, Sep 29, 2009 at 10:57:02AM +0200, Tomasz Pajor wrote: > > > > > > > > > >> what seems to be the problem? > > > >> > > > >> : the size 52428800 of shared memory zoneby Igor Sysoev - Nginx Mailing List - English
On Tue, Sep 29, 2009 at 03:38:24PM +0400, Михаил Монашёв wrote: > Здравствуйте, Игорь. > > >> Игорь, а поясни пожалуйста что даёт aio sendfile? Ниже ты описал > >> алгоритм работы, а зачем он нужен не понятно. > > IS> Он нужен, когда весь кby Igor Sysoev - Nginx Mailing List - Russian
On Tue, Sep 29, 2009 at 03:16:04PM +0400, Михаил Монашёв wrote: > Здравствуйте, Денис. > > Спасибо. разобрался. > > А как узнать, что aio заработал под FreeBSD 7.x ? Как я его не включал > всегда одна и та же картина: > > ps -auxwww|grep nginx > www 55214by Igor Sysoev - Nginx Mailing List - Russian
On Tue, Sep 29, 2009 at 05:24:49PM +0700, Denis F. Latypoff wrote: > Hello Igor, > > Tuesday, September 29, 2009, 4:49:47 PM, you wrote: > > > On Tue, Sep 29, 2009 at 04:36:54PM +0700, Denis F. Latypoff wrote: > > >> В последнее время стало маленько напрягать, то что патчи теперь имеют > >> MIME тby Igor Sysoev - Nginx Mailing List - Russian
On Tue, Sep 29, 2009 at 02:35:54PM +0400, Михаил Монашёв wrote: > Здравствуйте, Игорь. > > Игорь, а поясни пожалуйста что даёт aio sendfile? Ниже ты описал > алгоритм работы, а зачем он нужен не понятно. Он нужен, когда весь контент не помещаетby Igor Sysoev - Nginx Mailing List - Russian
On Tue, Sep 29, 2009 at 05:31:53PM +0700, Denis F. Latypoff wrote: > Hello Igor, > > 0.8.15 > > 2009/09/29 16:37:52 19223#0: *373 pread() read only 3739 of > 3740 from "/home/www/js/settings.js" while sending response to client, > client: 192.168.61.33, server: account.local, request: "GET > /js/settings.js HTTP/1.1", host: "account.local",by Igor Sysoev - Nginx Mailing List - Russian
On Tue, Sep 29, 2009 at 04:36:54PM +0700, Denis F. Latypoff wrote: > Hello Igor, > > Tuesday, September 29, 2009, 4:09:53 PM, you wrote: > > > On Fri, Sep 25, 2009 at 03:29:46PM -0700, Konstantin Svist wrote: > > >> Только что поставил 0.8.15 и в логах пошли статусы 0 вместо 499 (клиент > >> отвалилby Igor Sysoev - Nginx Mailing List - Russian
On Tue, Sep 29, 2009 at 11:41:15AM +0200, Tomasz Pajor wrote: > > >>>> what seems to be the problem? > >>>> > >>>> : the size 52428800 of shared memory zone "media" conflicts with > >>>> already declared size 0 in /etc/nginx/conf.d/cache.conf:5 > >>>> configuration file /etc/nginx/nginx.conf test failed >by Igor Sysoev - Nginx Mailing List - English
On Fri, Sep 25, 2009 at 03:29:46PM -0700, Konstantin Svist wrote: > Только что поставил 0.8.15 и в логах пошли статусы 0 вместо 499 (клиент > отвалился) > > $status в log_format-е > > Это так и останется или ошибка? Патч. -- Игорь Сысоев http://sysoev.ruby Igor Sysoev - Nginx Mailing List - Russian
On Tue, Sep 29, 2009 at 10:57:02AM +0200, Tomasz Pajor wrote: > > > >> what seems to be the problem? > >> > >> : the size 52428800 of shared memory zone "media" conflicts with > >> already declared size 0 in /etc/nginx/conf.d/cache.conf:5 > >> configuration file /etc/nginx/nginx.conf test failed > >> > > > > Tby Igor Sysoev - Nginx Mailing List - English
On Fri, Sep 25, 2009 at 09:46:33PM +0200, W-Mark Kubacki wrote: > Dear developers, > > I have experienced SEGFAULTs on ARM using fastcgi and discovered it > compiles with "NGX_HAVE_ATOMIC_OPS 0" on 'other' architectures than > x86, amd64, sparc and the such defined in src/os/unix/ngx_atomic.h. > > Therefore I'd like to contribute the patch linked below [1], whichby Igor Sysoev - Nginx Mailing List - English
On Sat, Sep 26, 2009 at 08:38:36PM -0400, marcusramberg wrote: > Hey > > Did you get anywhere with this issue? I am experiencing it as well with a new web node I'm trying to set up for iusethis.com, on a Sun T1000 running Debian. The bug has happened some time before the "bus error" occurs. It's not easy to find the cuase by gdb back trace in this case. If anyone can give meby Igor Sysoev - Nginx Mailing List - English
On Tue, Sep 29, 2009 at 11:37:43AM +0400, Maxim Dounin wrote: > Hello! > > On Tue, Sep 29, 2009 at 12:11:02AM -0400, brianf wrote: > > > Just a follow up to some more observed behavior: > > > > It seems that if I set the burst number low enough to trigger 503's with my tests, the system continuously returns 503 until i restart nginx. Is this another known bug? >by Igor Sysoev - Nginx Mailing List - English
On Tue, Sep 29, 2009 at 02:13:54AM +0400, SaveFrom.net wrote: > Уважаемый Игорь. > Вы, вероятно, забыли понизить приоритет сообщений о превышении коннектов > ("limiting connections by zone ...") в limit_zone_module до notice, как > планировали это сделать. > Напомby Igor Sysoev - Nginx Mailing List - Russian
On Mon, Sep 28, 2009 at 03:06:25PM -0400, Akins, Brian wrote: > I need to write cache module that's not upstream based. (Long story...) > > Reading through the upstream code and the proxy and fastcgi modules, it > looks fairly simple. > > Just so I know I'm on the right track: > > - to get something from cache I should generate a key for r->cache, try to > open fby Igor Sysoev - Nginx Mailing List - English
On Mon, Sep 28, 2009 at 07:51:38PM +0300, Marcus Clyne wrote: > Igor Sysoev wrote: > > In my opinion > > > > proxy_cache_path /data/nginx/cache levels=1:2 keys_zone=ONE:10m > > inactive=1h max_size=1g; > > > > is clearer and more expansible: you just need to add new keywords. > > > I see your point, I just personallby Igor Sysoev - Nginx Mailing List - English
![]() |
![]() |
![]() |
![]() |
|