Welcome! Log In Create A New Profile

Advanced

Re: Why Nginx send traffic to the next upstream on 504 error

August 09, 2020 10:45AM
Maxim, thank you for reply!

Some additional question here:
1. If we will remove 'timeout' will Nginx send traffic to the next upstream on 502 error?
2. More general question related the the Q.1. When Nginx interpret reply as 502 - on timeout, if yes - on which one? We have a lot of timeouts defined in the main config:
----
client_header_timeout 30s;
client_body_timeout 30s;
send_timeout 65s;

proxy_connect_timeout 5s;
proxy_send_timeout 65s;
proxy_read_timeout 65s;
----

Thanks!
Subject Author Posted

Why Nginx send traffic to the next upstream on 504 error

stmx38 August 08, 2020 12:55PM

Re: Why Nginx send traffic to the next upstream on 504 error

Maxim Dounin August 09, 2020 08:30AM

Re: Why Nginx send traffic to the next upstream on 504 error

stmx38 August 09, 2020 10:45AM

Re: Why Nginx send traffic to the next upstream on 504 error

Maxim Dounin August 10, 2020 08:48AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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