Nginx פג תוקף של upstream (110: פג תוקף של חיבור)

had the same problem with a company website foreign exchange send money online, tried to rebot the server and change the timeout to 1000 sec and then try it out.