Илья Шипицин
October 17, 2018 08:14AM
привет!

беру стоковый 1.15.5
вот такой конфиг

upstream root-upstream {
server 127.0.0.1:999 fail_timeout=30000ms;
}


server {
listen 80;
server_name localhost;

location / {
proxy_pass http://root-upstream;
}

}

и, собственно, вот

[root@localhost]# nginx -t
nginx: [emerg] invalid parameter "fail_timeout=30000ms" in
/etc/nginx/conf.d/default.conf:2
nginx: configuration file /etc/nginx/nginx.conf test failed
[root@localhost]#

в документации сказано, что так можно
_______________________________________________
nginx-ru mailing list
nginx-ru@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-ru
Subject Author Posted

fail_timeout - обсудим ?

Илья Шипицин October 17, 2018 08:14AM

Re: fail_timeout - обсудим ?

Maxim Dounin October 17, 2018 09:26AM

Re: fail_timeout - обсудим ?

Илья Шипицин October 17, 2018 10:48AM

Re: fail_timeout - обсудим ?

Maxim Dounin October 17, 2018 12:32PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 252
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready