Welcome! Log In Create A New Profile

Advanced

Re: no live upstreams while connecting to upstream

Eugene Toropov
January 08, 2019 04:32PM
Я, кстати, не указал :443 порт у server в upstream-е - поэтому и такую ошибку получил. Более подробно здесь - https://stackoverflow.com/questions/53245818/nginx-upstream-to-https-host-ssl3-get-recordwrong-version-number

Евгений

> On 9 Jan 2019, at 00:08, Eugene Toropov <eugene.toropov@gmail.com> wrote:
>
> С max_fails=0 получил ошибку "SSL_do_handshake() failed (SSL: error:1408F10B:SSL routines:ssl3_get_record:wrong version number) while SSL handshaking to upstream” (апстрим на httpS) - буду разбираться с SSL.
>
> Всем спасибо и спокойной ночи!
>
> Евгений
>
>> On 8 Jan 2019, at 23:54, Alexey via nginx-ru <nginx-ru@nginx.org <mailto:nginx-ru@nginx.org>> wrote:
>>
>> 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 <mailto: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 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 http://tratata/;
>>>>
>>>> ...
>>>>
>>>> }
>>>>
>>>> }
>>>>
>>>>
>>>> если Вы явно не указали upstream, то это не значит что там нет никаких умолчаний... укажите явно, впишите туда max_fails=0
>>>>
>>>> _______________________________________________
>>>> nginx-ru mailing list
>>>> nginx-ru@nginx.org <mailto:nginx-ru@nginx.org>
>>>> http://mailman.nginx.org/mailman/listinfo/nginx-ru http://mailman.nginx.org/mailman/listinfo/nginx-ru
>>
>>
>> _______________________________________________
>> nginx-ru mailing list
>> nginx-ru@nginx.org <mailto:nginx-ru@nginx.org>
>> http://mailman.nginx.org/mailman/listinfo/nginx-ru 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