关于nginx配置
server{
listen 80;
server_name www.helloworld.com;
if (!-e $request_uri) {
rewrite ^ http://www.helloworld.com/website/jxjt/index.shtml permanent;
}
location / {
proxy_pass http://ip:port/应用名称;
}
}
我想实现的是在访问www.helloworld.com这个域名时实际发送http://ip:port/应用名称/website/jxjt/index.shtml这个请求
向上面这样配不行,有大神知道该如何配置吗?