nginx location [PATTERN] defaults to / and specifies the html folder under the nginx folder.
If [PATTERN] is set to /test and an absolute path is not used, it will default to the test folder under the html folder in the nginx folder.
# / points to /usr/local/nginx/html
location / {
root html;
#index index.html index.htm;
index yu-index.html;
charset utf-8;
}
# /test points to /usr/local/nginx/html/test
location /test {
root html;
index test.html;
charset utf-8;
}