有一台Win2003服务器上的 80 端口跑着 IIS 6.0,现在我想让它跑在 88 端口上,然后加上一个 ginx 的反向代理,希望实现的效果是这样的(假设服务器访问地址为 myhost):访问
http://myhost/$request (包括
http://myhost/) 时把请求转向
http://myhost:88/$request,请问应该如何配置? 以下是我的 nginx 配置文件:
目前实现的效果是访问
http://myhost/filename 时已经能转向
http://myhost:88/filename,但是访问 http://myhost 的时候,显示的仍然是 nginx 默认的 index 页面……