应用场景: 访问domain.com/xxx,返回project/templates/xxx.html内容
原配置文件如下:
1 | root /home/wayde/project/templates; |
- 方案1
1 | root /home/wayde/project/templates; |
- 方案2
1 | root /home/wayde/project/templates; |
- 方案3
1 | root /home/wayde/project/templates; |
应用场景: 访问domain.com/xxx,返回project/templates/xxx.html内容
原配置文件如下:
1 | root /home/wayde/project/templates; |
1 | root /home/wayde/project/templates; |
1 | root /home/wayde/project/templates; |
1 | root /home/wayde/project/templates; |