Troubleshoot Nginx, the first step


Suddenly Nginx won’t start. Where to I begin to troubleshoot. First, check the configuration file for Nginx.

sudo nginx -t

Aha, a misplaced character a line 52

Error screen

Using Laravel Forge and F-Bar together it’s easy to find the error around line 52, a misplaced }

F-Bar

Done!

Profit!