Nginx upstream timed out Rumi, April 22, 2018 There are two main directives responsible for Nginx upstream timed out (110: Connection timed out) error: proxy_read_timeout – Defines a timeout for reading a response from the proxied server. Default is 60 seconds. location ~ ^/slow-proxy { proxy_read_timeout 180; # <--- proxy_pass ...; } * you can use proxy_read_timeout inside http, server and location blocks. fastcgi_read_timeout – Defines a timeout for reading a response from the FastCGI server. Default is 60 seconds. ..... location ~ \.php$ { fastcgi_read_timeout 180; # <--- fastcgi_pass ...; } ..... * you can use fastcgi_read_timeout inside http, server and location blocks. Administrations Configurations (Linux) nginxPHP-FPM