Hello, please describe more your problem, I am unable to understand where is the problem. If you generate links via PHP so then write it in database.
Or build 1 link with multiple args and in nginx if($arg_LIMIT1) { .... } if($arg_LIMIT2) { .... } and in php build link like .php?LIMIT1=hehe&LIMIT2=hmm and so on, you can parse all args from URI to NGINX conf and in NGINX conf you can use proxy_pass to pass back these args into some url.
Or build 1 link with multiple args and in nginx if($arg_LIMIT1) { .... } if($arg_LIMIT2) { .... } and in php build link like .php?LIMIT1=hehe&LIMIT2=hmm and so on, you can parse all args from URI to NGINX conf and in NGINX conf you can use proxy_pass to pass back these args into some url.