V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
yeshang
V2EX  ›  问与答

请问这段 nginx 规则怎么写?

  •  
  •   yeshang · 2017-11-26 16:58:45 +08:00 · 643 次点击
    这是一个创建于 2358 天前的主题,其中的信息可能已经有所发展或是发生改变。
    rewrite ^/n/([0-9]+)-([0-9]+)-([0-9]+)$ /file/index.php?c=node&id=$1&page=$2&next=$3 last;
    对应 http://www.**.com/file/n/234-434-45
    目前尚无回复
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   939 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 20:57 · PVG 04:57 · LAX 13:57 · JFK 16:57
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.