On Wed, Apr 06, 2011 at 10:17:22PM -0400, vrtak-cz wrote: > Hi, > > i need complex configuration "vhost" allow for internal IP (10.x.x.x) > without http auth or any other IP with http auth. > > how to make it? allow 10.x.x.x; deny all; auth_basic ... satisfy any; -- Igor Sysoev http://sysoev.ru/en/ _______________________________________________ nginx mailingby Igor Sysoev - Nginx Mailing List - English
On Wed, Apr 06, 2011 at 01:56:48PM +0200, Serg Senko wrote: > День добрый > > Пытаюсь создать отдельные логи для ботов. > nginx version: nginx/0.8.53 > > В location'ы прописываю > > if ($http_user_agent ~ "^(YandexBot|Googlebot)") { > access_log /usr/local/nginx/logs/seo.log; &gby Igor Sysoev - Nginx Mailing List - Russian
On Wed, Apr 06, 2011 at 05:11:10AM -0400, dix75 wrote: > Запрос http:://www.ttt.ru/?ip=127.0.0.1 > > Как в моем самописном модуле получить > например двухбуквенный код страны. geo $arg_ip $country { ... -- Igor Sysoev http://sysoev.ru/en/ _______________________________________________ nginx-ru mailing listby Igor Sysoev - Nginx Mailing List - Russian
On Wed, Apr 06, 2011 at 04:55:18AM -0400, dix75 wrote: > Добрый день! > > Существуют ли стандартные средства для > обработки ip адресов переданных в > качестве данных в запросе к nginx > (например определить страну). > модули: > - ngx_http_geo_moduleby Igor Sysoev - Nginx Mailing List - Russian
On Mon, Apr 04, 2011 at 04:52:22PM -0400, Travis Derouin wrote: > We seem to be getting sporadic 502 errors, mostly when users are logging in. > We run a Mediawiki based website, are running nginx 0.9.5, php-fpm 5.3.5. > > The error: > > 2011/04/04 10:41:34 30517#0: *2143711 upstream sent too big header > while reading response header from upstream, client: 192.168.100.5, sby Igor Sysoev - Nginx Mailing List - English
On Mon, Apr 04, 2011 at 02:00:06PM -0400, onel0ve wrote: > # BEGIN DPIOptions > > RewriteEngine On > RewriteRule ^thumb-(.*)\.jpg$ thumb.php?id=$1 > RewriteRule ^image-(.*)\.jpg$ image.php?id=$1 > RewriteRule ^image-(.*)\.gif$ image.php?id=$1&gif > RewriteRule ^share-(.*)\.html$ share.php?id=$1 > RewriteRule ^gallery-(.*)-(.*)-(.*)\.html$ gallery.php?id=$2&pageby Igor Sysoev - Nginx Mailing List - English
Изменения в nginx 0.9.7 04.04.2011 *) Добавление: теперь соединения в состоянии keepalive могут быть закрыты преждевременно, если у воркера нет свободных соединений. Спасибо Максиму Дунину. *) Добавby Igor Sysoev - Nginx Mailing List - Russian
Изменения в nginx 0.9.7 04.04.2011 *) Добавление: теперь соединения в состоянии keepalive могут быть закрыты преждевременно, если у воркера нет свободных соединений. Спасибо Максиму Дунину. *) Добавby Igor Sysoev - Nginx Announcements - Russian
Changes with nginx 0.9.7 04 Apr 2011 *) Feature: now keepalive connections may be closed premature, if there are no free worker connections. Thanks to Maxim Dounin. *) Feature: the "rotate" parameter of the "image_filter" directive. Thanks to Adam Bocim. *) Bugfix: a case when a backend in "fastcgby Igor Sysoev - Nginx Mailing List - English
Changes with nginx 0.9.7 04 Apr 2011 *) Feature: now keepalive connections may be closed premature, if there are no free worker connections. Thanks to Maxim Dounin. *) Feature: the "rotate" parameter of the "image_filter" directive. Thanks to Adam Bocim. *) Bugfix: a case when a backend in "fastcgby Igor Sysoev - Nginx Announcements - English
On Mon, Apr 04, 2011 at 09:03:25AM +0400, Igor Sysoev wrote: > On Sun, Apr 03, 2011 at 09:06:39PM -0700, Dmitry Alekhin wrote: > > Всем привет, > > > > Подскажеите пожалуйста , как сделать , что бы по запросу > > http://domain.com/ab > > > > отдавался файл > > > > http://domiaiby Igor Sysoev - Nginx Mailing List - Russian
On Sun, Apr 03, 2011 at 09:06:39PM -0700, Dmitry Alekhin wrote: > Всем привет, > > Подскажеите пожалуйста , как сделать , что бы по запросу > http://domain.com/ab > > отдавался файл > > http://domiain.com/a/b/ > но без 301 или 302 редиректа ? > > Конструкция > &gby Igor Sysoev - Nginx Mailing List - Russian
On Fri, Apr 01, 2011 at 04:08:30PM +0000, Richard Kearsley wrote: > Hi > Thanks for the reply. > > The only references to worker in my config are: > > worker_processes 4; > events > { > worker_connections 4096; > } > > I read in nginx wiki if worker_rlimit_nofile is not defined, the value from ulimit -n is used? "ulimit -n" sets/shows the limby Igor Sysoev - Nginx Mailing List - English
On Fri, Apr 01, 2011 at 05:01:42AM +0200, Steve Zhuo wrote: > hi > > i'm running nginx with tomcat. I tried to rewrite all the incoming url > with /en appended. ex: www.example.com/main/index.html will get rewrite > to www.example.com/en/main/index.html > > Following is my nginx config: > > > upstream www.example.com { > server localhost:8080; > }by Igor Sysoev - Nginx Mailing List - English
On Thu, Mar 31, 2011 at 09:00:37PM -0400, alxsss wrote: > Thanks Igor, > > I had before access_log /path/to/access.log main; > > changed it to access_log /path/to/access.log; > Logwatch still sends emails with only disk space usage information. > Looks like it cannot find nginx logs. Sorry, I have no idea how to configure logwatch. -- Igor Sysoev http://sysoev.ru/en/by Igor Sysoev - Nginx Mailing List - English
On Thu, Mar 31, 2011 at 06:06:39PM -0400, nfn wrote: > Hello, > > I'm looking for a way to redirect users from some countries and with a > querystring value to a specific page. > > I tried this without success: > > location /register.php { > if (($geoip_country_code = (BR|PT)) and ($arg_action = "register")) { > rewrite ^(.*) /page/info/registo.htmby Igor Sysoev - Nginx Mailing List - English
On Fri, Apr 01, 2011 at 05:19:56AM +0000, Прокофьев Павел Владимирович wrote: > В ответе nginx не возвращается header Content-Length в связке nginx/0.8.53 + spawn-fcgi. > > location /spbpost/ { > fastcgi_pass unix:/var/run/spawn-fcgi/spawn-fcgi.www-1; > fastcgi_index test.php; >by Igor Sysoev - Nginx Mailing List - Russian
On Thu, Mar 31, 2011 at 06:57:57PM +0400, Denis F. Latypoff wrote: > 31.03.2011, 18:53, "Igor Sysoev" <igor@sysoev.ru>: > > On Thu, Mar 31, 2011 at 06:50:33PM +0400, Denis F. Latypoff wrote: > > > >> 31.03.2011, 18:46, "Igor Sysoev" <igor@sysoev.ru>;: > >>> On Thu, Mar 31, 2011 at 06:00:02PM +0400, Denis F. Latypoff wrote: >by Igor Sysoev - Nginx Mailing List - Russian
On Thu, Mar 31, 2011 at 06:50:33PM +0400, Denis F. Latypoff wrote: > 31.03.2011, 18:46, "Igor Sysoev" <igor@sysoev.ru>: > > On Thu, Mar 31, 2011 at 06:00:02PM +0400, Denis F. Latypoff wrote: > > > >> 31.03.2011, 16:30, "Maxim Dounin" <mdounin@mdounin.ru>;: > >>> Hello! > >>> > >>> On Thu, Mar 31, 2011by Igor Sysoev - Nginx Mailing List - Russian
On Thu, Mar 31, 2011 at 06:00:02PM +0400, Denis F. Latypoff wrote: > 31.03.2011, 16:30, "Maxim Dounin" <mdounin@mdounin.ru>: > > Hello! > > > > On Thu, Mar 31, 2011 at 04:44:41AM +0400, Denis F. Latypoff wrote: > > > >> Здрасьте, наконец-то отловил его, уже такое бывало, но > >> на проby Igor Sysoev - Nginx Mailing List - Russian
On Thu, Mar 31, 2011 at 03:44:08AM -0400, zloikakpes wrote: > The page you are looking for is temporarily unavailable. > Please try again later. > > но файл так и не отдает http://nginx.org/pipermail/nginx/2010-September/022324.html Только нужно убрать "secure_link_expires on", её уже нет. -- Igor Sysoev http://sysoev.ru/en/by Igor Sysoev - Nginx Mailing List - Russian
On Thu, Mar 31, 2011 at 03:07:36AM -0400, rok wrote: > And what about add send mail command.? > --with-mail --with-mail_ssl_module --without-mail_pop3_module > --without-mail_imap_module --without-mail_smtp_module > But drupal say cannot send mail.... These are mail proxiyng modules. nginx can not send mail. -- Igor Sysoev http://sysoev.ru/en/ ____________________________________by Igor Sysoev - Nginx Mailing List - English
On Thu, Mar 31, 2011 at 02:16:55AM -0400, rok wrote: > anomalizer Wrote: > ------------------------------------------------------- > > On Mar 31, rok wrote: > > > > > >sudo ./configure --sbin-path=/usr/local/sbin > > > > > > > > >So if i reconfigure,should backup config > > before?and what configure i do > > >now? > > &by Igor Sysoev - Nginx Mailing List - English
On Thu, Mar 31, 2011 at 10:45:58AM +0530, Basil Kurian wrote: > I configured Nginx to serve as a reverse proxy for Apache. Sometimes > Nginx is giving bad gateway error. If you ever see nginx error or unexpected action, you should look nginx error_log. -- Igor Sysoev http://sysoev.ru/en/ _______________________________________________ nginx mailing list nginx@nginx.org http://nginx.orgby Igor Sysoev - Nginx Mailing List - English
On Wed, Mar 30, 2011 at 09:51:16AM -0400, j0nes2k wrote: > Hello Francis, > > okay, I see. So nginx seems to (randomly?) choose one of the location > blocks - in my case it was the lower one using the proxy_pass directive. > > > However I have several scripts running under /cgi-bin that need > different limit_req settings - there are scripts that need to have a > stroby Igor Sysoev - Nginx Mailing List - English
On Wed, Mar 30, 2011 at 01:49:48AM -0400, chinchevoy wrote: > nginx тут притом, что он не передает > параметр Host в header-e, идущим к бэкенду, > без явного указания этого при передаче. nginx всегда передаёт Host бэкенду. Вопрос в том, что он там передаёт. Поby Igor Sysoev - Nginx Mailing List - Russian
On Tue, Mar 29, 2011 at 01:39:05AM -0400, jinjun502 wrote: > Hello > I want to konw nginx rewrite ,how to write rewrite /indxe.htm to > /dir/ > ex: http://xxxx.com/index.htm redirecting http://xxxx.com/ location = / { try_files $uri/index.htm =404; root /path/to/files; } location = /index.htm { return 301 http://xxxx.com/; } -- Igor Sysoev http://sysoeby Igor Sysoev - Nginx Mailing List - English
On Mon, Mar 28, 2011 at 08:19:54PM -0400, alxsss wrote: > Hello, > > Does anyone know how to configure logwatch to parse nginx logs instead > of apache ones? Use default nginx access log file format, compatible with apache one: access_log /path/to/access.log; -- Igor Sysoev http://sysoev.ru/en/ _______________________________________________ nginx mailing list nginx@nginx.by Igor Sysoev - Nginx Mailing List - English
On Mon, Mar 28, 2011 at 03:46:28PM +0300, Alex Vorona wrote: > 28.03.2011 13:31, Igor Sysoev wrote: > > On Sun, Mar 27, 2011 at 06:15:18PM +0300, Alex Vorona wrote: > >> 27.03.2011 01:39, Андрей Василишин wrote: > >>> Всем привет! > >>> Заметил, что с использованием aio + directio не используетby Igor Sysoev - Nginx Mailing List - Russian
On Mon, Mar 28, 2011 at 02:15:26PM +0300, Андрей Василишин wrote: > 28.03.2011 13:33, Igor Sysoev пишет: > > On Sun, Mar 27, 2011 at 01:39:17AM +0200, Андрей Василишин wrote: > >> Всем привет! > >> Заметил, что с использованием aio + directio не используется системный > >&gby Igor Sysoev - Nginx Mailing List - Russian
![]() |
![]() |
![]() |
![]() |
|