Welcome! Log In Create A New Profile

Advanced

Re: upstream timed out (60: Operation timed out)

December 20, 2018 08:54AM
upstream site {
server xx.xx.xx.185:33084 max_fails=20 fail_timeout=1;
server xx.xx.xx.96:33084 max_fails=20 fail_timeout=1;
server xx.xx.xx.94:7070 max_fails=20 fail_timeout=1;
serverxx.xx.xx.167:7070 max_fails=20 fail_timeout=1;

}


server {
server_name site.loc;
listen 80;

access_log /opt/nginx/logs/now/site.access.log;
error_log /opt/nginx/logs/site.error.log error;

location / {
proxy_pass http://site;

proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Request-Id $request_id;

proxy_read_timeout 3s;
proxy_send_timeout 3s;
proxy_next_upstream error http_502 http_500 http_503 http_504 timeout;
}
}
Subject Author Posted

upstream timed out (60: Operation timed out)

darksmoke December 20, 2018 08:18AM

Re: upstream timed out (60: Operation timed out)

imsystem December 20, 2018 08:24AM

Re: upstream timed out (60: Operation timed out)

darksmoke December 20, 2018 08:54AM

Re: upstream timed out (60: Operation timed out)

Maxim Dounin December 20, 2018 08:54AM

Re: upstream timed out (60: Operation timed out)

darksmoke December 20, 2018 09:02AM

Re: upstream timed out (60: Operation timed out)

Maxim Dounin December 20, 2018 09:30AM

Re: upstream timed out (60: Operation timed out)

darksmoke December 20, 2018 11:21AM

Re: upstream timed out (60: Operation timed out)

Maxim Dounin December 20, 2018 12:24PM

Re: upstream timed out (60: Operation timed out)

darksmoke December 21, 2018 01:31PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 73
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