aiseo
V2EX  ›  问与答

nginx subs_filter 如何替换动态 URL

  •  
  •   aiseo · May 21, 2018 · 2177 views
    This topic created in 3002 days ago, the information mentioned may be changed or developed.

    原地址:/products/list?category_id=2

    需要结果:/products/classify/2.html

    subs_filter products/list?category_id=([0-9]+) products/classify/$1.html igr;

    我这样写没反应,请教大佬们指点下

    谢谢了

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   860 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 20ms · UTC 19:49 · PVG 03:49 · LAX 12:49 · JFK 15:49
    ♥ Do have faith in what you're doing.