在nginx/conf/nginx.conf文件中修改server/location/root对应的路径。
修改主页就是index 后面对应的html文件名称。
server {
******
location / {
#root html;
root c:/work/tools/testpages/;
#index index.html index.htm;
}
******
在nginx/conf/nginx.conf文件中修改server/location/root对应的路径。
修改主页就是index 后面对应的html文件名称。
server {
******
location / {
#root html;
root c:/work/tools/testpages/;
#index index.html index.htm;
}
******