yeshang
V2EX  ›  问与答

请问这段 nginx 规则怎么写?

  •  
  •   yeshang · Nov 26, 2017 · 999 views
    This topic created in 3129 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   ·   749 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 21:18 · PVG 05:18 · LAX 14:18 · JFK 17:18
    ♥ Do have faith in what you're doing.