aiseo
V2EX  ›  问与答

nginx subs_filter 如何替换动态 URL

  •  
  •   aiseo · May 21, 2018 · 2040 views
    This topic created in 2936 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   ·   1012 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 18:48 · PVG 02:48 · LAX 11:48 · JFK 14:48
    ♥ Do have faith in what you're doing.