nginx 502 Bad Gateway valet code example
Example: magento 2 laravel valet 502 bad gateway
fastcgi_buffering on;
fastcgi_buffers 4 256k;
fastcgi_buffer_size 128k;
fastcgi_buffering on;
fastcgi_buffers 4 256k;
fastcgi_buffer_size 128k;