yeshang
V2EX  ›  问与答

请问这段 nginx 规则怎么写?

  •  
  •   yeshang · Nov 26, 2017 · 1027 views
    This topic created in 3150 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   ·   849 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 23ms · UTC 20:26 · PVG 04:26 · LAX 13:26 · JFK 16:26
    ♥ Do have faith in what you're doing.