Try raising request_terminate_timeout setting in php.ini file (CentOS path is /etc/php-fpm.d): request_terminate_timeout = 150įinally, add fastcgi_read_timeout variable inside our Nginx virtual host configuration: location ~* \. Try raising max_execution_time setting in php.ini file (CentOS path is /etc/php.ini): max_execution_time = 150 I will show you through the step by step installation to fix nginx 504 gateway timeout on the nginx webserver. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo’ to the commands to get root privileges. This article assumes you have at least basic knowledge of linux, know how to use the shell, and most importantly, you host your site on your own VPS. Here, check the box in front of Plugins to select all your. Go to your WP admin dashboard, and click on the plugins tab. If you run a Nginx web server you may have already encountered the annoying 504 Gateway Time-out errors. This is pretty common error, are generated most probably by the PHP max execution time limit or by the FastCGI read timeout settings. To find if any of your WordPress plugins is causing the 504 gateway timeout error, you need to deactivate all your WordPress plugins and then reactivate them one by one to see which one can cause the 504 timeout issue. In this tutorial we are going to learn how to fix 504 gateway time-out on Nginx web server on Linux server.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |