Skip to content

Feature request: Cities names in rulesets #42

Description

@nmr50

Hello dear author !

Could you please add feature to use SECOND database on MaxMind - named as CITY ?
What I am talking about. As you surely know Russia is a BIG country, and sometimes I need to specify what cities/region should have access to specific page or not.

For example, CITY database (in .csv) has such record - 524894,en,EU,Europe,RU,Russia,MOW,Moscow,,,,,Europe/Moscow,0
So I can use "RU-MOW" to specify access only from Russia, Moscow, and its nearest small cities.
Or
498817,en,EU,Europe,RU,Russia,SPE,St.-Petersburg,,,"St Petersburg",,Europe/Moscow,0
I can use "RU-SPE" to access only from Russia, St.-Petersburg, and its nearest small cities...

Maxmind CITY db is located here:
https://geolite.maxmind.com/download/geoip/database/GeoLite2-City-CSV.zip
https://geolite.maxmind.com/download/geoip/database/GeoLite2-City.tar.gz

Thanks in advance !

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions