1. server { <br /> listen 9001;<br /> server_name 192.168.1.10;//nginx服务器的地址为192.168.1.10:9001
    2. location ~ /edu/ {//正则表达式,当地址为http://192.168.1.10:9001/edu/a.html时,192.168.1.10:9001会被替换为192.168.1.10:8080;<br /> proxy_pass http://192.168.1.10:8080;<br /> }<br /> location ~ /vod/{<br /> proxy_pass http://192.168.1.10:8081;<br /> }<br /> }