nkcfc
V2EX  ›  问与答

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

  •  
  •   nkcfc · Aug 20, 2014 · 2508 views
    This topic created in 4311 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   ·   3406 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 11:24 · PVG 19:24 · LAX 04:24 · JFK 07:24
    ♥ Do have faith in what you're doing.