Answer the question
In order to leave comments, you need to log in
nginx was automatically updated to 1.8 and the sites-enabled directory stopped working, what should I do?
I make any changes to the hosts in the sites-enabled directory - nothing happens. Registered service nginx stop
Then I register: service nginx status
And I get "nginx stop/waiting", but the sites still open. The /etc/nginx/conf.d directory is empty.
Answer the question
In order to leave comments, you need to log in
/etc/nginx/nginx.conf should contain the following line:
include sites-enabled/*;
At the very end of the http {} section
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question