Six. Check the default homepage and directory of nginx: as follows, you can see that the default directory is html, and the homepage is index.html
[[emailprotected] conf]# grep html nginx.conf
root root html;
index index.html index.htm;
404 #error_page / 404.html;
# redirect server error pages to the static page /50x.html
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root html;
# root root html;
# Root root html;
# index index.html index.htm;
root html;
## index index.html index.htm;
After entering the homepage, after modifying the content, visit: