Nginx is not starting


I am trying to install nextcloud on nginx webserver. Once I defined the /etc/nginx/available-sites/default I can’t start the nginx service. The error log (/var/log/nginx/error.log is showing this:

invalid number of arguments in “location” directive in /etc/nginx/sites-enabled/default:81

Well, I have absolutely no idea how to get the nginx service up and running again. Any hint?

Kind regards

Please forget. I found the problem. I just removed the “default” from /etc/nginx/sites-enabled/ and gave it a new try. Now the sudo /etc/init.d/nginx start is working perfectly fine again.

Kind regards