Joined August 2014

Shanmugavel Arunachalam


I have done all the steps but while running the statement, I am getting the following error. I have created my Digital Ocean VPS host in port 3000.

$ sudo rm /etc/nginx/sites-enabled/default
$ sudo service nginx restart
* Restarting nginx nginx [fail]

$ sudo nginx -t

nginx: [emerg] "listen" directive is not allowed here in /etc/nginx/sites-enabled/hosting:1
nginx: configuration file /etc/nginx/nginx.conf test failed

1 Karma
0 Total ProTip Views