Hi
I’ll like to make a 301 redirect like this:
http://www.my_domain.com/activate/?ac=xyz (xyz is random 36
alphanumeric
code)
TO
https://another_domain/blah_blah/signup/?ac=test
Please help 
Thanks in advance.
Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,148171,148171#msg-148171
cparfon
#2
On Fri, Nov 05, 2010 at 08:13:40PM -0400, cparfon wrote:
https://another_domain/blah_blah/signup/?ac=test
http {
map $arg_ac $ac {
xyz https://another_domain/blah_blah/signup/?ac=test
abc https://another_domain/blah_blah/signup/?ac=one
...
}
server {
location = /activate/ {
if ($ac) {
return 301 $ac;
}
return 403;
}
–
Igor S.
http://sysoev.ru/en/