Quantcast
Channel: Nginx Forum
Viewing all articles
Browse latest Browse all 53287

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

$
0
0
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@sofor.fi
Sofor Oy | www.sofor.fi | Takakaarre 3 | PL 51 | FIN-62200 Kauhava
tel. +358 10 235 90 | fax +358 10 235 9100



_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx

Viewing all articles
Browse latest Browse all 53287

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>