nginx 504

Restart both ‘apache’ and ‘nginx’. On terminal and with the following code “sudo subl etc/nginx/nginx.conf” to open the file with sublime text or if you want to use nano editor replace “subl” with “nano”. Now add the code below under “http”.

client_max_body_size 99999M;
client_header_timeout 99999;
client_body_timeout 99999;
fastcgi_read_timeout 99999;
fastcgi_buffers 8 128k;
fastcgi_buffer_size 128k;

Restart nginx and php-fpm With the following code.

service php–fpm restart
service nginx restart

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.