我在我的开发环境中使用 Laravel Valet,今天在使用 Livewire 发送发布请求时遇到了这个错误。
~/.config/valet/Log/nginx-error.log:
2020/05/17 10:44:27 [error] 3611#0: *1 upstream sent too big header while reading response header from upstream, client: 127.0.0.1, server: , request: "POST /livewire/message/autocomplete.users HTTP/1.1", upstream: "fastcgi://unix:/Users/macuser/.config/valet/valet.sock:", host: "blog.test", referrer: "http://blog.test/dashboard"