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. Related Administrations Configurations (Linux) nginxPHP-FPM
Dissection of SPF (Sender Policy Framework)- A way to configure your DNS server SPF parameters September 26, 2010 Pick a default. SPF domains have to publish at least two directives: a version identifier and a default mechanism. mydomain.com. TXT “v=spf1 -all” This is the simplest possible SPF record: it means your domain mydomain.com never sends mail. It makes sense to do this when a domain is only used… Read More
How to clear the yum cache October 20, 2013 When a package is downloaded, installed and is removed there is a chance that the package may still be saved/stored in the yum’s cache. So to clean all the cached packages from the enabled repository cache directory, login as root and execute the following: yum clean packages To purge the… Read More
Create a Sudo User on Debian or Ubuntu January 29, 2017 Log in to your server as the root user. ssh root@server_ip_address Use the adduser command to add a new user to your system. Be sure to replace username with the user that you want to create. adduser username Set and confirm the new user’s password at the prompt. A strong… Read More