Joined August 2014
·
9b9bcf35274a8e24632c7c0c0887666b

Shanmugavel Arunachalam

Trivandrum
·
·

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

Achievements
1 Karma
0 Total ProTip Views