https://mamchenkov.net/wordpress/2016/08/04/504-gateway-timeout-error-on-nginx-fastcgi-php-fpm/
504 Gateway Timeout error on Nginx + FastCGI (php-fpm)