I have deployed my website to a Digital Ocean droplet (Ubuntu 20.04 server).
Everything was working fine. Today, I did some changes to the website in my local machine. So I pushed the changes to GitHub and then cloned the GitHub repo again to the server. Then, I installed the dependencies and restarted PM2.
Now, when I visit my site https://sundaray.io
, I get the following error.
The following is the error log.
How can I fix the error?
sudo nginx -T
output. From what I can see your configuration need some general cleanup. – Adrian.env
file. By the way, why can't I copy paste code from VS code to VIM? I triedctrl+v
andctrl+shift+v
, but doesn't work. – Dorton