今天配置nginx的proxy_pass 问题:html
在proxy_pass http://item/test; 后加入 / 和不加入是有区别的nginx
加入 / 实例:ide
http://item/index.html #直接域名访问就能够获得indexhtm
不加入 / 实例:ci
http://item/test #自动加入 test 访问不到indexget