GeoIP Country Filtering

Does anyone have any “best practices” on filtering using the GeoIP

I’d like to filter my entire site based upon “allowed countries” (it’s a
very specialized site), and am wondering the best place to check
country-code so that it’s efficient (performance wise), and applies to
the entire http or server block.

Any tips and tricks are very much appreciated!


This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs