No, logs are always written either in renamed old file or created newly by master process. There is window between sending signal and reopening new files by worker processes. -- Igor Sysoev http://nginx.com/support.html On Dec 15, 2012, at 22:20 , S Ahmed wrote: > I see, thanks. > > So there is there a small window of time when the logs will not be written or lost? > > > Oby Igor Sysoev - Nginx Mailing List - English
On Dec 15, 2012, at 2:10 , S Ahmed wrote: > m irya, > > Thanks. I'm planning to run 12.04 ubuntu. > > What exactly does 're-opening' of a log file mean? Isn't it already open, meaning nginx has it open and is appending to it? > > So step by step, what is to be done? > > 1. kill -USR1 > 2. rename file? > 3. kill -USR1 'cat /var/run/nginx.pid' > 4. profitby Igor Sysoev - Nginx Mailing List - English
On Dec 14, 2012, at 16:54 , Alex Vasilenko wrote: > Игорь, > > Можно подробнее, что означает "Resource temporarily unavailable" в данном случае? Это значит, что в данный момент клиент не прислал данных. Это нормально: пришлёт позже, через секунду, двby Igor Sysoev - Nginx Mailing List - Russian
On Dec 14, 2012, at 15:59 , Antonio P.P. Almeida wrote: >> Currently I need to use tricks since I have multiple locations in my site >> config. >> >> e.g. >> >> ===================================== >> >> >> location ~* /a { >> location ~* ^/.*\.(?:css|js|jpg|jpeg|gif|png)$ { >> expires 1y; >> } >> } &gby Igor Sysoev - Nginx Mailing List - English
On Dec 14, 2012, at 16:16 , Alex Vasilenko wrote: > Игорь, > > Забыл добавить: используется nginx upload module http://www.grid.net.ru/nginx/upload.en.html . По этому модулю ничего сказать не могу. > Самая интересная часть ниже: >>> 2012/12/14 03:18:02 6772#0: *468812 http read client reby Igor Sysoev - Nginx Mailing List - Russian
On Dec 14, 2012, at 15:51 , Alex Vasilenko wrote: > Приветствую, > > Собрал немного логов. Помогите пожалуйста с интерпретацией: > > 2012/12/14 03:18:02 6772#0: *468812 http cl:102400 max:524288000 > 2012/12/14 03:18:02 6772#0: *468812 rewrite phase: 2 > 2012/12/14 03:18:02 6772#0: *468812 post rewrite phase:by Igor Sysoev - Nginx Mailing List - Russian
On Dec 14, 2012, at 15:05 , alexfear wrote: > Спасибо за быстрый ответ! > Так всё правильно работает. Есть правда один нюанс, нгинкс у меня проксирует > запросы на бекенд. А по скольку для редиректа создан отдельный локейшн, то в > нby Igor Sysoev - Nginx Mailing List - Russian
On Dec 14, 2012, at 14:26 , alexfear wrote: > Здравствуйте. > Подскажите, пожалуйста, как экранировать спецсимволы в location или в чём > моя ошибка? > Конфиг вроде такого: > > location = /home/showNews.do?chat&categoryId=8 { > return 301 > $scheme://example.com/home/shoby Igor Sysoev - Nginx Mailing List - Russian
On Dec 14, 2012, at 11:32 , dwow wrote: > Добрый день, > > есть два каталога /HTML и /cgi-bin > как сделать, чтобы при использовании SSI в каталоге /HTML, нельзя было > подгрузить файлы из каталога /cgi-bin? location /cgi-bin/ { internal; ... } -- Igor Sysoev http://nginby Igor Sysoev - Nginx Mailing List - Russian
On Dec 13, 2012, at 19:02 , kirimedia wrote: > Когда nginxу посылаем USR2 или HUP старые воркеры должны умереть, взамен их > появиться новые. Если nginx собран с каким либо модулем, который что то > делает по таймеру (например раз в минуту) то вby Igor Sysoev - Nginx Mailing List - Russian
On Dec 13, 2012, at 18:36 , Anton Kuznetsov wrote: > Хочу прикрутить кэширование в нжинксе, но сайт отдает для нескольких групп стран разный контент. Как бы это поумнее прописать в ключе кэширования? Можно просто страну из mod_geo конечно, ноby Igor Sysoev - Nginx Mailing List - Russian
On Dec 12, 2012, at 14:13 , Роман wrote: > не, мне интересно как сделать это все в одном правиле > я хочу настроить кеш для всех кроме Не надо мыслить категориями "кроме". Для того, чтобы настроить кэш в одном месте, его нужно насby Igor Sysoev - Nginx Mailing List - Russian
On Dec 12, 2012, at 12:31 , dinama wrote: > В документации написано что переменные вычисляются только в момент > использования. > Вызывается ли многократный пересчет переменной в точках (1) (2) (3) ? > > > map $one $any { > default 0; > ~\d+by Igor Sysoev - Nginx Mailing List - Russian
On Dec 12, 2012, at 12:26 , Роман wrote: > Подскажите как исключить в location / несколько папок? Нужно мыслить не исключениями, а функциональностью: location / { ... } location /папка/ { ... } location /мамка/ { ... } location /дедка/ { ... } location /бабка/ { .by Igor Sysoev - Nginx Mailing List - Russian
11.12.2012, в 18:59, "polleke" <nginx-forum@nginx.us> написал(а): > Looks like a "not so much used" feature ? Surprisingly but "map" has been initially introduced exactly for mass hosting. -- Igor Sysoev _______________________________________________ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginxby Igor Sysoev - Nginx Mailing List - English
On Dec 11, 2012, at 12:44 , maxspb85 wrote: > Maxim Dounin Wrote: > ------------------------------------------------------- > >> Впрочем, в любом случае я бы начал с простого: снял tcpdump на >> сервере между nginx'ом и клиентом и поизучал его внимательно. >> > > Из тоby Igor Sysoev - Nginx Mailing List - Russian
On Dec 10, 2012, at 14:22 , amodpandey wrote: > One interesting observation > > I put this code > > location /test { > proxy_pass http://a/; > .... > set $dont_cache 1; > > if ( $cookie_route ) { > set $dont_cache 0; > } > proxy_cache_bypass $dont_cache; >by Igor Sysoev - Nginx Mailing List - English
On Dec 10, 2012, at 14:15 , amodpandey wrote: > Thank you :) This one worked. > > I would like to take this opportunity to share the exact problem I had. > > I am using sticky module for some app version targetting. Plus I have > enabled proxy cache. The sticky module works in a way that it first let the > upstream handle the weights and according to which server catered thby Igor Sysoev - Nginx Mailing List - English
Если в логе на месте строки запроса пустые кавычки, то ничего и не пришло. -- Igor Sysoev 06.12.2012, в 14:17, Alex Vasilenko <aa.vasilenko@gmail.com> написал(а): > Приветствую! > > В логах попадаются некоторое количество 400 ответов. Хочется узнаby Igor Sysoev - Nginx Mailing List - Russian
On Dec 5, 2012, at 2:28 , jeenam wrote: > If 'keepalive_timeout 0' is set at the http context level, does nginx honor > 'keepalive_timeout N' at the server and/or listen level? There is no listen context as such, but there is default server for listen address:port pair. As to the question - yes, you can change keepalive_timeout at server or location level. -- Igor Sysoev http://nginx.comby Igor Sysoev - Nginx Mailing List - English
On Nov 29, 2012, at 16:05 , goelvivek wrote: > HI, > If I increase nginx worker count. File descriptor count are getting > increased in n*n oder. > Example with 10 worker. > 2 0xffff8801c4dec000 > 10 0xffff8801c4dec300 > 10 0xffff8801c4dec600 > 2 0xffff8801c4dec900 > 10 0xffff8801c4decc00 > 10 0xffff8801c4decf00 > 2 0xffff8801c4ded200by Igor Sysoev - Nginx Mailing List - English
On Nov 29, 2012, at 9:29 , mariush wrote: > Igor Sysoev Wrote: > ------------------------------------------------------- >>> С правами проэкспериментированно все что только возможно, очень >> похоже на >>> вариант указанный здесь http://www.lexa.ru/nginx-ru/msg09508.html >&by Igor Sysoev - Nginx Mailing List - Russian
On Nov 29, 2012, at 9:08 , mariush wrote: > Проблема с отдачей изображений - через раз nginx прерывает сессию по время > загрузки. > > 8.3-RELEASE FreeBSD 8.3-RELEASE > nginx-1.2.5 + php-5.4.7 + > > В логах в режиме debug: sendfile() failed (13: Permission denied) while > sending response to cby Igor Sysoev - Nginx Mailing List - Russian
On Nov 28, 2012, at 11:51 , Sheng.Zheng wrote: > Thanks Igor,I can pseudo-streaming H.264/MP3 files after update from 1.2.5 to 1.3.9. > Do you plan to back port this change to 1.2.x stable version or i have to wait for the 1.4.x. I can not say if will it be merged in 1.2.x, but 1.3.x is quite stable. Also you can use this patch for 1.2.x: http://trac.nginx.org/nginx/changeset/4821/nginxby Igor Sysoev - Nginx Mailing List - English
On Nov 28, 2012, at 8:54 , Sheng.Zheng wrote: > Hi all > > After I replaced the 3rd party h.264 streaming module with the native one.I found that there was no sound when playing some of MP4 files with MP3 audio codec. Is there anyway to pseudo-streaming MP4 files with H.264/MP3 codec by using the native mp4 module.Or any plan to support this type of MP4 files in the future ? Could youby Igor Sysoev - Nginx Mailing List - English
On Nov 23, 2012, at 16:30 , Micha Glave wrote: > My fault both 2. and 3. doesn't work. > > How is the correct notation? allow 192.168.42.0/24; nginx tests both IPv4 and IPv4 mapped to IPv6 addresses with this single rule. -- Igor Sysoev http://nginx.com/support.html > Micha > > > 2012/11/23 Micha Glave <nginx@migmedia.de> > Hi > > I wan't to allow jusby Igor Sysoev - Nginx Mailing List - English
On Nov 22, 2012, at 16:40 , michela wrote: > I can no longer access my Django app via a nginx / fastcgi proxy on Centos > 5.7 after upgrading to Django 1.4.2 > > Upgrading nginx via yum didn't solve the problem. > > The error message in the logs is: > > upstream sent unsupported FastCGI protocol version: 60 while reading > response header from upstream 60 is a codeby Igor Sysoev - Nginx Mailing List - English
On Nov 22, 2012, at 12:14 , kaaron wrote: > Добрый день! > Стоит такая задача необходимо отсекать запросы если в заголовках есть oct и > hex-данные > Например > _SERVER['HTTP_X_FORWARDED_FOR'] = > ${@print(md5(acunetix_wvs_security_test))}, 151.0.19.87 > _SERVER['HTTP_X_FORWARDED_FOR'] = >by Igor Sysoev - Nginx Mailing List - Russian
Author: is Date: 2012-11-20 13:37:55 +0000 (Tue, 20 Nov 2012) New Revision: 4918 URL: http://trac.nginx.org/nginx/changeset/4918/nginx Log: Fixed failure to start cache manager and cache loader processes if there were more than 512 listening sockets in configuration. Modified: trunk/src/core/ngx_connection.c trunk/src/os/unix/ngx_process_cycle.c Modified: trunk/src/core/ngx_connection.cby Igor Sysoev - Nginx Development
On Nov 18, 2012, at 17:25 , amodpandey wrote: > Please help me understand > > The below works > > location /stats/ { > proxy_pass http://example.com; > } > > or > > location /stats { > proxy_pass http://example.com; > } > > or > > location /stats { > proxy_pass http://example.com/stats; >by Igor Sysoev - Nginx Mailing List - English
![]() |
![]() |
![]() |
![]() |
|