首先修改配置文件,增加下面的两个配置:

接下来,修改maproute为路由增加.html后缀

完成后,我们来验证一下刚才的成果:

http://localhost:2279/home/2.html

一个简单的伪静态就配置成功了。