Laravel Valet 504 Gateway Time-Out
I recenly started gettting 504 from Laravel app using valet had some issues while debugging it. Basically it boils down to NGINX.
Add these values to your server or http block.
proxy_connect_timeout 600; proxy_send_timeout 600; proxy_read_timeout 600; send_timeout 600; fastcgi_read_timeout 300; fastcgi_buffers 8 128k; fastcgi_buffer_size 256k;
Just make sure after adding values to
valet.conf file you run
Hope this solves your issue!
Have a nice day!