Nginx редиректит (301) с добавлением слэша
Доброго дня.Не могу понять откуда берётся внутренний редирект такого вида:$ wget -O/dev/null http://site.local/folder--2013-06-25 16:01:59-- http://site.local/folder---HTTP-запрос отправлен. Ожидание...
View ArticleRe: Why nginx's http parser doesnt use regular expressions?
On Tuesday 25 June 2013 08:11:54 anshuk kumar wrote:> Thanks for the reply.>> I have another question, was any state machine generators like ragel used> to code this or this is completely...
View ArticleRe: Handling nginx's too many open files even I have the correct ulimit
Thanks a lot, Jader. Your hint saved me hours of additional headache after our site was almost unusable due to NGINX throwing tens of thousands of "24: Too many open files" errors.I chose to set...
View ArticleRe: SPDY: what is the purpose of blocked frame
On Tuesday 25 June 2013 12:51:17 Yury Kirpichev wrote:> Hi Nginx Developers,>>> Could someone explain what is the purpose to use blocked frame for> SYN_REPLY frame in spdy...
View Articlebuild failed on Linux with x32 ABI
>> +#if (NGX_HAVE_RTSIG)>> +#include <sys/sysctl.h>>> +#endif>> +>>>> #if (NGX_HAVE_POSIX_SEM)>> #include <semaphore.h>>This probably needs to...
View ArticleRe: API question: large data processing handler
Hello!On Tue, Jun 25, 2013 at 01:03:38AM -0600, Julien Zefi wrote:> hi,>>> On Thu, Jun 20, 2013 at 3:11 AM, Maxim Dounin <mdounin@mdounin.ru> wrote:>> > Hello!> >>...
View ArticleRe: Nginx редиректит (301) с добавлением слэша
Hello!On Tue, Jun 25, 2013 at 11:30:46AM -0400, wilful wrote:> http://nginx.org/ru/docs/http/ngx_http_core_module.html#try_files> Я не нашел в описании директивы указание на 301-й редирект.>...
View ArticleRe: build failed on Linux with x32 ABI
Hello!On Tue, Jun 25, 2013 at 07:32:04PM +0300, Serguei I. Ivantsov wrote:> >> +#if (NGX_HAVE_RTSIG)> >> +#include <sys/sysctl.h>> >> +#endif> >> +>...
View ArticleTrouble adding /pma location to all virtual hosts
Hello,I'm trying to accomplish something that feels like it should be verysimple, yet I'm struggling. I'm new to nginx, and I feel a bit lost as Itry to "translate" everything that I've done in Apache...
View ArticleRe: В логах nginx пишет вместо "127.0.0.1""::ffff:127.0.0.1"
> А, что именно там не так с ядром и glibc?Ну, это надо спрашивать что они там мутят в Canonical, ибо у меняHardened ядро (vanilla + grsecurity + PaX) уже очень давно (многорелизов назад) само...
View ArticleRe: call http request from location
--- Original message ---From: "asd" <stageline@gmail.com>Date: 25 June 2013, 18:48:37> Hy.>> It possible exec curl from location or call http request with other solution?>>> I...
View ArticleStreming with HttpSecureLink Module
Hello,I have streaming tube site,Im run on my root domain apache webserver, but on my storage server i want run nginx with HttpSecureLink ModuleI will try explain:root domain: site.com (apache)storage...
View Articleadd_header problem
I'm using Nginx 1.5.1 which is compiled via centminmod, my problem is, whenever I tried to add_header likeadd_header Strict-Transport-Security "max-age=360000; includeSubdomains"; this header does not...
View ArticleRe: вопрос по встроенному Perl-у
В логах выдаетUndefined subroutine &$1::$2 called...а если писатьlocation ~* ^/(.*?)/(.*?)/ {perl {$1 . "::" . $2};}то ругается что директива perl не заканчивается с точской с запятой.Как же быть...
View ArticleRe: Регулярки для map
Благодарю за помощь с первой регуляркой - это как раз то, что докторпрописал. А вот во втором случае встроенными переменными не обойтись,поскольку указанный мной urlhttp(s)://test.local/(site([1-9]))не...
View Articlenginx rewrite rule exclude numbers
Need some help with Nginx write rule such that:All urls of type:-/1.1.1/xyz/abc/z.js/2.2.2/xyz/def/c.cssare re-directed to/xyz/abc/z.js/xyz/def/c.cssWant to exclude the numeric part which comes at the...
View ArticleRe: call http request from location
Not sure. PHP not know mp4 video playing start.I can save time, filename, ip addr after called url by nginx.2013/6/26 wishmaster <artemrts@ukr.net>>>> --- Original message ---> From:...
View ArticleRe: call http request from location
Hello!On Wed, Jun 26, 2013 at 08:53:39AM +0200, asd wrote:> Not sure. PHP not know mp4 video playing start.> I can save time, filename, ip addr after called url by nginx.Most obvious aproach...
View ArticleRe: Nginx редиректит (301) с добавлением слэша
Спасибо за ответы. Привожу пример всего конфига. Бакэнд в данном случа я отключил вообще (в первом сообщении 404 это ошибка о том, что не найден индекс заглушки, но редирект происходит раньше)server...
View ArticleRe: В логах nginx пишет вместо "127.0.0.1""::ffff:127.0.0.1"
Hello!On Wed, Jun 26, 2013 at 12:42:58AM +0400, Vadim A. Misbakh-Soloviov wrote:> > А, что именно там не так с ядром и glibc?>> Ну, это надо спрашивать что они там мутят в Canonical, ибо у...
View Article