V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
yeshang
V2EX  ›  问与答

请问这段 nginx 规则怎么写?

  •  
  •   yeshang · Nov 26, 2017 · 930 views
    This topic created in 3085 days ago, the information mentioned may be changed or developed.
    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
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5354 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 07:54 · PVG 15:54 · LAX 00:54 · JFK 03:54
    ♥ Do have faith in what you're doing.