Answer the question
In order to leave comments, you need to log in
Why doesn't the html site start on nginx?
Website html on nginx does not start
Log is empty
events {}
http {
server {
listen 8080;
server_name 192.168.88.252;
access_log /sites/logs/access.log;
error_log /sites/logs/error.log;
location / {
root /sites/worthy_v.1.0;
index index.html;
}
}
}
Answer the question
In order to leave comments, you need to log in
fortune telling in the thick of the coffee
grounds says that nginx does not have rights to the /sites directory - therefore the logs are empty, because the
thick from the second cup can’t write there either says that after editing nginx, you forgot to reload nginx
thick from the third cup says, that you open the site in the browser without specifying port 8080
I won’t drink more coffee today
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question