Geo blocking, but allowing google index robot to pass-thru

Pekka.Panula at sofor.fi Pekka.Panula at sofor.fi
Mon Feb 18 12:00:51 UTC 2013


Hi

I have a site where i want to geo block all but one country, but perhaps 
allow Google to index site, perhaps some other index bot too.

So what sort of configuration is needed so i can detect Google bot and let 
it pass-thru? Would be nice if there is example configuration. Is only 
good way to check user-agent?

Pekka Panula | Jatkuvat Palvelut  | Direct +358 10 235 9232  | 
Pekka.Panula at sofor.fi
Sofor Oy | www.sofor.fi | Takakaarre 3 | PL 51 | FIN-62200 Kauhava 
tel.  +358 10 235 90 | fax  +358 10 235 9100



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20130218/ae11d3d3/attachment.html>


More information about the nginx mailing list