Hello,
I'm looking for a way to redirect users from some countries and with a querystring value to a specific page.
I tried this without success:
location /register.php {
if (($geoip_country_code = (BR|PT)) and ($arg_action = "register")) {
rewrite ^(.*) /page/info/registo.html permanent;
}
}
How can I accomplish this?
Thanks