Welcome! Log In Create A New Profile

Advanced

Re: no live upstreams while connecting to upstream

Alexey via nginx-ru
January 08, 2019 03:56PM
08.01.2019 23:50, Eugene Toropov пишет:
> Зачем мне upstream, если я использую proxy_pass:
>
> location / {
> proxy_pass xxxxxx;
> }
> ?

да, сорри, во второй случае должно было быть proxy_pass

Еще раз, если Вы не описали апстрим для проксипаса, то это не значит что
его нет и в нем нет умолчаний. Если умолчания не подходят, то значит
надо описать таки апстрим самостоятельно с нужными параметрами.

>> On 8 Jan 2019, at 23:48, Alexey via nginx-ru <nginx-ru@nginx.org> wrote:
>>
>> 08.01.2019 23:40, Eugene Toropov пишет:
>>> Я не совсем понял, при чем здесь параметр max_fails - его на странице proxy модуля нет нигде - http://nginx.org/en/docs/http/ngx_http_proxy_module.html - я что-то пропустил?
>>>
>> ustream tratata {
>>
>> server tratutu:80 .... max_fails=XXX;
>>
>> }
>>
>>
>> server {
>>
>> location / {
>>
>> proxy_pass http://tratata;
>>
>> ...
>>
>> }
>>
>> }
>>
>>
>> если Вы явно не указали upstream, то это не значит что там нет никаких умолчаний... укажите явно, впишите туда max_fails=0
>>
>> _______________________________________________
>> nginx-ru mailing list
>> nginx-ru@nginx.org
>> http://mailman.nginx.org/mailman/listinfo/nginx-ru


_______________________________________________
nginx-ru mailing list
nginx-ru@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-ru
Subject Author Posted

no live upstreams while connecting to upstream

Eugene Toropov January 08, 2019 06:36AM

Re: no live upstreams while connecting to upstream

pnz.stalker--- via nginx-ru January 08, 2019 08:06AM

Re: no live upstreams while connecting to upstream

Eugene Toropov January 08, 2019 01:02PM

Re: no live upstreams while connecting to upstream

pnz.stalker--- via nginx-ru January 08, 2019 01:20PM

Re: no live upstreams while connecting to upstream

Eugene Toropov January 08, 2019 01:30PM

Re: no live upstreams while connecting to upstream

pnz.stalker--- via nginx-ru January 08, 2019 01:46PM

Re: no live upstreams while connecting to upstream

Eugene Toropov January 08, 2019 02:02PM

Re: no live upstreams while connecting to upstream

Alexey via nginx-ru January 08, 2019 03:12PM

Re: no live upstreams while connecting to upstream

Eugene Toropov January 08, 2019 03:42PM

Re: no live upstreams while connecting to upstream

Alexey via nginx-ru January 08, 2019 03:50PM

Re: no live upstreams while connecting to upstream

Eugene Toropov January 08, 2019 03:52PM

Re: no live upstreams while connecting to upstream

Alexey via nginx-ru January 08, 2019 03:56PM

Re: no live upstreams while connecting to upstream

Eugene Toropov January 08, 2019 04:10PM

Re: no live upstreams while connecting to upstream

Alexey via nginx-ru January 08, 2019 04:30PM

Re: no live upstreams while connecting to upstream

Eugene Toropov January 08, 2019 04:34PM

Re: no live upstreams while connecting to upstream

Eugene Toropov January 08, 2019 04:48PM

Re: no live upstreams while connecting to upstream

Alexey via nginx-ru January 09, 2019 01:44PM

Re: no live upstreams while connecting to upstream

Eugene Toropov January 09, 2019 02:28PM

Re: no live upstreams while connecting to upstream

Eugene Toropov January 08, 2019 04:32PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 86
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready