目录 nginxnginx的location规则 nginx nginx的location规则 参考链接 server { listen 9001; server_name 192.168.7.123; location /edu/ { proxy_pass http://localhost:8081/; } location ~ /vod/ { proxy_pass http://localhost:8081; } }