iwinux
V2EX  ›  服务器

请教关于 nginx+IIS 的问题

  •  
  •   iwinux · Apr 8, 2011 · 3811 views
    This topic created in 5584 days ago, the information mentioned may be changed or developed.
    有一台Win2003服务器上的 80 端口跑着 IIS 6.0,现在我想让它跑在 88 端口上,然后加上一个 nginx 的反向代理,希望实现的效果是这样的(假设服务器访问地址为 myhost):访问 http://myhost/$request (包括 http://myhost/) 时把请求转向 http://myhost:88/$request,请问应该如何配置?

    以下是我的 nginx 配置文件:



    目前实现的效果是访问 http://myhost/filename 时已经能转向 http://myhost:88/filename,但是访问 http://myhost 的时候,显示的仍然是 nginx 默认的 index 页面……
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3042 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 14:34 · PVG 22:34 · LAX 07:34 · JFK 10:34
    ♥ Do have faith in what you're doing.