[网络配置]
======nginx反向代理的问题======
我想实现网页跳转功能:
wap.abc.com 跳转至 http://wap.abc.com:8080/abc/job/search/index.html
nginx 配置文件设置:
server {
listen 80;
server_name wap.abc.com;
index index.jsp index.htm index.html;
root /opt/haha/150401/abc;
location /abc {
proxy_pass http://localhost:8080/abc/job/search/index.html;
}
}
不成功,请问我应该如何设置呢?