Submitted by
Dmitro
on
To detect if there are any errors:
nginx -T
To fix 504 Timeout error:
upstream timed out: fastcgi_read_timeout 600s;
To fix error "upstream sent too big header while reading response header from upstream" need to append the following directives:
fastcgi_buffers 16 32k;
fastcgi_buffer_size 64k;
fastcgi_busy_buffers_size 64k;
#fastcgi_buffering off;
large_client_header_buffers 4 8k;