Increasing Server Timeout Limits

All SpinupWP servers are configured with a default timeout limit of 30 seconds. However, you may increase this limit if you are experiencing “504 Gateway Time-out” errors.

Nginx

Go to the Nginx tab on your server’s dashboard and modify the FastCGI Read Timeout value.

Configure Nginx FastCGI Read Timeout

PHP

Go to the PHP tab on your site’s dashboard and adjust the Max Execution Time setting.

Configure PHP Max Execution Time

This should be equal to or less than the value set for the Nginx FastCGI Read Timeout.

To update this for all sites using the same PHP version, start by connecting to your server using a sudo user.

Open your php.ini file and modify the following value:

max_execution_time = 30

Reload PHP for the change to take effect:

sudo service php{PHP_VERSION}-fpm reload