location 配置
location /test/page/ {
alias C:/test/html/;
index index.html index.htm;
}
location /test/page1/ {
alias C:/test/html/;
index index.html index.htm;
}
192.168.2.100:8000/test/page/ 192.168.2.100:8000/test/page1/ 都可以正常访问
location 配置
location ~ /test/page(\d+)/ {
alias C:/test/html/;
index index.html index.htm;
}
访问 192.168.2.100:8000/test/page1/ 地址就会变成 192.168.2.100:8000/test/page1/index.html/index.html/index.html/index.html/index.html/...
求教这里应该如何配置