mamchenkov.net
504 Gateway Timeout error on Nginx + FastCGI (php-fpm)
"504 Gateway Timeout" error is a very common issue when using Nginx with PHP-FPM. Usually, that means that it took PHP-FPM longer to generate the response, than Nginx was willing to wait for. A few possible reasons for this are: Nginx timeout configuration uses very small values (expecting the responses to be unrealistically fast). The … Continue reading 504 Gateway Timeout error on Nginx + FastCGI (php-fpm)