server{ listen 90; # /后面在html目录下能够配置就可以直接访问到 location /{ root html; index index.html; } }
server{ listen 90; #精确匹配只能匹配到"/home/imooc/img/face1.png"这一张图片其他就不行 location =