rt, after nginx is installed on the server centos x64, enter my server IP in the browser, and you can see the nginx prompt page showing that I successfully installed nginx. After that, I uploaded all the webpage files to /usr/local/nginx-1.8.0/html and replaced the built-in index.html, but I cannot access my new webpage files. Why?
It says this page cannot be accessed.
But is there anything that needs to be configured? Newbies don’t understand, please teach me!
Because the web directory is not necessarily usr/local/nginx/html=. =The default may be something like this in /usr/share/nginx/html/
Write a configuration file... Generally, you create a new .conf configuration file and write the configuration yourself