修改配置文件: /user/local/nginx/conf/nginx.conf
server { listen 9001; server_name www.xuexi.com; loction / { proxy_pass http://192.168.12.128:8080; } }
在C:\Windows\System32\drivers\etc\hosts文件最后一行添加如下内容
192.168.12.128 www.xuecheng.com