Alright, problem fixed, thanks guys.
It was because of the template whitespace/indents messing up since I was copying from a file into the terminal.
I installed a plugin and the site is completely gone.
Warning: 502 Bad Gateway
Server: Ubuntu LEMP, Digitalocean VPS
How can I solve this problem?
You can try
./nodebb reset -p <plugin name>