Below was the error that is spit by the nginx
nginx: [emerg] duplicate location "/ms" in /etc/nginx/sites-enabled/':56
The reason is that while editing the default file, the vi editor seemed to have created a copy of the file and saved in an unstable state. the name was ' .. to remove this file, had to do the below
sudo rm -rf \'
then starting the server did the trick,
the link in reference section contains the similar issue.
references
https://www.digitalocean.com/community/questions/nginx-config-error-emerg-1226-0-duplicate-location
No comments:
Post a Comment