504 Gateway Time-out code example
Example: 504 gateway time-out valet
nano ~/usr/local/etc/nginx/nginx.conf
add inside http:
client_header_timeout 3000;
client_body_timeout 3000;
fastcgi_read_timeout 3000;
fastcgi_buffers 8 128k;
fastcgi_buffer_size 128k;
valet restart