You’ll sometimes hit Gateways errors, usually 502 Bad Gateway or 504 Gateway Timeout. Nginx returns these errors when it sends a request to PHP, but PHP returns some error saying it can’t process the request. Typically these are NOT errors occurring in your application, but instead are errors hit before the application processes a request.

The post Debugging Gateway Errors appeared first on Laravel News.

Join the Laravel Newsletter to get Laravel articles like this directly in your inbox.

Leave a Reply