nataraj: (Default)
[personal profile] nataraj
syntax: proxy_connect_timeout time;
default: proxy_connect_timeout 60s;

Defines a timeout for establishing a connection with the proxied server. It should be noted that this timeout cannot usually exceed 75 seconds.


А почему собственно говоря не более 75 секунд?

И может ли кто-то из присутвующих помочь с настройкой прокси к сильно тормознутому серверу, чтобы обломы выдвал не прокси, а сам сервер, когда не осилил?

Date: 2012-04-19 02:30 pm (UTC)
From: [identity profile] alexkuklin.livejournal.com
ты не путаешь connect timeout и read timeout?

Date: 2012-04-19 02:57 pm (UTC)
ext_613079: Default userpic (Бритый небритый)
From: [identity profile] shaplov.livejournal.com
одним из первых искусство копипаста падаван освоил.

http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_connect_timeout

Date: 2012-04-19 02:58 pm (UTC)
ext_613079: Default userpic (Бритый небритый)
From: [identity profile] shaplov.livejournal.com
Или ты про то что я не ту ручку кручу?

Date: 2012-04-19 03:14 pm (UTC)
From: [identity profile] alexkuklin.livejournal.com
бинго.
если у тебя сервер, который долго думает над контентом, то это read_timeout.
а если у тебя долго устанавливается соединение, то... это, мягко говоря, странно.

Date: 2012-04-19 06:56 pm (UTC)

Profile

nataraj: (Default)
Swami Dhyan Nataraj

July 2024

S M T W T F S
 123456
789 10111213
14151617181920
21222324252627
28293031   

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jan. 19th, 2026 10:42 pm
Powered by Dreamwidth Studios