nignx 获取get 请求问号后面的参数

$arg_xxxxx    就好了。 例如:

 

location /list/still {
alias /v4/$arg_categoryCode/still/list_$arg_p_idx.json;
}

可以获取 http:////list/still?categoryCode=xxxx&p_idx=1  的参数

posted @ 2022-08-12 15:32  jk_tim  阅读(18)  评论(0)    收藏  举报