Laravel Valet Linux doesn’t show a log file

Background

In some circumstances you might experience a 500 error using Laravel Valet on Linux. To solve this problem one typically needs to look in the NGINX error log file, but on Laravel Valet for Linux this isn’t so easy as the default log file, /var/log/nginx/error.log, might be empty:

tail -f /var/log/nginx/error.log

Look here instead:

tail -f ~/.valet/Log/nginx-error.log

 

Share this article

Leave a Reply

Your email address will not be published. Required fields are marked *

Scroll to Top