Forum Moderators: bakedjake
map $request_uri $redirect_uri {
/2015-brand1-model1-n1 /inventory/?make=brand1
/2017-brand1-model2-n2 /inventory/?make=brand1
/2013-brand2-model3-n3 /inventory/?make=brand2
[...more fixed URL redirects...]
} include map.conf;
server {
[...your current server code...]
if ( $redirect_uri ) {
return 301 $redirect_uri;
}
}