yeshang
V2EX  ›  问与答

请问这段 nginx 规则怎么写?

  •  
  •   yeshang · Nov 26, 2017 · 978 views
    This topic created in 3118 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   ·   5897 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 02:29 · PVG 10:29 · LAX 19:29 · JFK 22:29
    ♥ Do have faith in what you're doing.