Laravel Valet logs
Hopefully this helps with your question about the nginx config files. You can find the nginx configuration for your sites by running cd ~/.config/valet/Nginx
in your terminal. To get to the base nginx config for valet use cd /usr/local/etc/nginx/valet
. You should then see valet.conf
, inside you can update the following lines to put the log files where you want them.
access_log "/Users/[user_id]/.config/valet/Log/access.log";error_log "/Users/[user_id]/.config/valet/Log/nginx-error.log";
Make sure to run valet restart
after you make changes to the valet.conf file.
The NGINX configuration file should be available at /usr/local/etc/nginx/nginx.conf