Require NGINX config location rewrite for affiliate links

Job ID: 32685801

Budget: $10 – $30 CAD

Hi I'm a developer and creator of InfoMASHUP.com, an information research, connecting, and stacking application (site).

I need an NGINX experienced I.T. guy who can write a redirect for an addresses in this form:

https://infomashup.com/{affilate name}/

So it will be rewriting as this address for further processing at the server:

https://infomashup.com/sleuths/?affilate={affilate name}

From there I can handle it.

Something like this with a way to handle any number of names as the redirect "folder" location:

location /mashups/ {
rewrite ^(.+)/+$ $1 permanent;
#if($is_args ~ "?"){
if ($args ~ "^tID=") {
rewrite ^/mashups(.*)$ /index.php?option=mashups&$args;
}
}
Related categories: Linux Apache Nginx Server