标签: nginx windows-10
我有测试页:C:\static\index.html
C:\static\index.html
我将位置添加到nginx:
nginx
location /test/ { alias C:\static\; }
开始nginx:
启动http://localhost,我看到Welcome to nginx!页面 开始http://localhost/test/index.html,我看到404 Not Found
http://localhost
Welcome to nginx!
http://localhost/test/index.html
404 Not Found
如何打开我的静态测试页?