业务需求
location / { if ($request_uri ~* ^/?id=(.*)&type=(d)$) { return 307 https://shtlc.xxxx.cn/micro_code/customize?id=$arg_id; } try_files $uri $uri/ /index.html; }