Answer the question
In order to leave comments, you need to log in
Changed the root directory in nginx. Why can't I access the site?
Changed ngnix root directory from /usr/share/nginx/html to /var/www. Now, when trying to access any page of the site, the following error weighs:
What to do with it?
Answer the question
In order to leave comments, you need to log in
You messed up something in the config, and nginx just won't start. The logs show an error.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question