Show all posts by user
Discussions in Russian
Page 1 of 1 Pages: 1
Results 1 - 23 of 23
Я понял вас.
Похоже, в свое время пример значения в документации разлетелся по
интернету, как рекомендуемое значение.
То есть вы рекомендуете не указывать вообще эту директиву?
--
Игорь Исаенко
________________________________________
by
xore
-
Nginx Mailing List - Russian
В документации написано, что эта директива указывает, сколько раз в секунду
дергать gettimeofday, чтобы не дергать её на каждый запрос.
Она появилась в версии 0.3.х.
Мне кажется, это отличная директива, просто нужно указать, на
by
xore
-
Nginx Mailing List - Russian
Здравствуйте.
Я заметил интересный момент и хотел бы уточнить, правильно ли я его понял.
Похоже, работа директив директив *_timeout сильно зависит от значения
timer_resolution.
А точнее, лучше не ставить таймауты меньше или равны
by
xore
-
Nginx Mailing List - Russian
Hello.
I can't find description for "post_action" in documentation.
Earlier (in static version of documentation) was description of this directive.
This directive is still actual?
by
xore
-
Nginx Mailing List - English
Добрый день.
Я заметил, что в документации нет описания директивы post_action.
Ранее (до переезда со статического сайта) её описание было в английской документации.
А сейчас вообще нигде нет.
Эта директива ещё актуальна?
by
xore
-
Nginx Mailing List - Russian
Добрый день.
Не могу понять поведение nginx при возникновении ошибки:
"no live upstreams while connecting to upstream, client: x.x.x.x, ..."
Я предполагал, что когда все серверы в upstream становятся недоступными, nginx начинает отвечать 502, пока у как
by
xore
-
Nginx Mailing List - Russian
1.3.x planned features and improvements
...
Support for ETAG headers
http://trac.nginx.org/nginx/milestone/1.3
by
xore
-
Ideas and Feature Requests
alex_ru Пишет:
-------------------------------------------------------
> Переменные использовать
> можно:
>
> location ~ ^/(?P<site>.+) {
> #тут можно использовать
> переменную $site
> }
Можно поподробнее про ?P<site>, которая создает переменную $s
by
xore
-
Nginx Mailing List - Russian
"if" (as operator of module "rewrite") works before server gets answer from upstream.
That's why $upstream_* variables are empty for him.
In my case operator "map" helps me.
by
xore
-
Nginx Mailing List - English
Идея хорошая, но таинственной причине if не хочет работать с $upstream_cache_status.
Добавил просто:
add_header "X-Cache-Status" $upstream_cache_status;
Опытным путем выяснил, что с if так же не хочет работать заголовок от бекенда - $upstream_http_<имя>.
by
xore
-
Nginx Mailing List - Russian
Chris, thank you, this is what i need.
By the way, i found one strange thing - operator "if" don't work with $upstream_cache_status.
For example, i try to change "HIT" and "MISS" to more enigmatic values
set $tocache X;
if ($upstream_cache_status = HIT)
{
set $tocache H;
}
if ($upstream_cache_status = MISS)
{
set $tocache M;
}
add_header tocach
by
xore
-
Nginx Mailing List - English
Попробуйте без "if (!-f $request_filename) { ".
Просто proxy_pass http://127.0.0.1:8180
А для work, попробуйте:
proxy_pass http://127.0.0.1:8180/application/;
На конце "/" (слэш).
by
xore
-
Russian Forum
Hello!
Can you please tell how to cope with such task.
When nginx gives directly the page, add the title "backend_id".
And when it taking from the cache, don't add the header.
The scheme works like this:
Frontend - nginx with proxy_cache, followed by multiple backends (proxy_pass to multiple servers).
I need to distinguish, when a response from the cache and when it from the ba
by
xore
-
How to...
Hello!
Can you please tell how to cope with this task.
When nginx gives directly the page, add the title "backend_id".
And when it taking from the cache, don't add the header.
The scheme works like this:
Frontend - nginx with proxy_cache, followed by multiple backends (proxy_pass to multiple servers).
I need to distinguish, when a response from the cache and when it from the ba
by
xore
-
Nginx Mailing List - English
Здравствуйте!
Подскажите, пожалуйста, как справиться с такой задачей.
Когда nginx отдает страничку напрямую, добавить заголовок "backend_id".
А когда берет из кэша, заголовок не добавлять.
Схема работы такая:
Фронтенд
by
xore
-
Nginx Mailing List - Russian