aiseo
V2EX  ›  问与答

nginx subs_filter 如何替换动态 URL

  •  
  •   aiseo · May 21, 2018 · 2048 views
    This topic created in 2940 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   ·   1308 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 17:13 · PVG 01:13 · LAX 10:13 · JFK 13:13
    ♥ Do have faith in what you're doing.