nkcfc
V2EX  ›  问与答

请问如何达到访问 IP/test 等同于访问 IP:Port 的结果?最好是主流的 http 服务器。

  •  
  •   nkcfc · Aug 20, 2014 · 2532 views
    This topic created in 4327 days ago, the information mentioned may be changed or developed.
    3 replies    2014-08-27 03:25:26 +08:00
    sandtears
        1
    sandtears  
       Aug 20, 2014
    nginx 的反代啊...
    nkcfc
        2
    nkcfc  
    OP
       Aug 20, 2014
    @sandtears 嗯,发完贴我就查到了。
    nkcfc
        3
    nkcfc  
    OP
       Aug 27, 2014
    @sandtears 还是有点问题的,就是得手动的调整一些目录,例如访问IP/test/a本来该跳转到IP/test/b,但是会跳转到IP/a,这类问题可以用改写url的办法解决,但是有没有自动的办法呢?
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2926 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 46ms · UTC 15:02 · PVG 23:02 · LAX 08:02 · JFK 11:02
    ♥ Do have faith in what you're doing.