{"id":25600930,"url":"https://github.com/chrislim2888/ip2location-nginx","last_synced_at":"2025-04-13T06:43:17.702Z","repository":{"id":16923486,"uuid":"19684918","full_name":"chrislim2888/ip2location-nginx","owner":"chrislim2888","description":"Nginx module that allows user to lookup for geolocation information using IP2Location database.","archived":false,"fork":false,"pushed_at":"2024-01-03T06:57:36.000Z","size":5,"stargazers_count":33,"open_issues_count":0,"forks_count":10,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-26T23:11:13.081Z","etag":null,"topics":["area-code","city","country","domain","elevation","geolocation","ip-address","ip-location","ip-lookup","ip2location","iplocation","ipv4","ipv6","isp","mobile-info","nginx","region","weather-station","zip-code"],"latest_commit_sha":null,"homepage":"https://www.ip2location.com","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chrislim2888.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGES","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2014-05-12T03:37:12.000Z","updated_at":"2024-11-28T10:28:07.000Z","dependencies_parsed_at":"2025-02-21T15:37:45.736Z","dependency_job_id":"8b988fac-a65f-422c-9473-65f9f34811df","html_url":"https://github.com/chrislim2888/ip2location-nginx","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrislim2888%2Fip2location-nginx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrislim2888%2Fip2location-nginx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrislim2888%2Fip2location-nginx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrislim2888%2Fip2location-nginx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chrislim2888","download_url":"https://codeload.github.com/chrislim2888/ip2location-nginx/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248675445,"owners_count":21143764,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["area-code","city","country","domain","elevation","geolocation","ip-address","ip-location","ip-lookup","ip2location","iplocation","ipv4","ipv6","isp","mobile-info","nginx","region","weather-station","zip-code"],"created_at":"2025-02-21T15:37:09.661Z","updated_at":"2025-04-13T06:43:17.682Z","avatar_url":"https://github.com/chrislim2888.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# IMPORTANT:\n# THIS PROJECT WILL NO LONGER BE MAINTAINED. PLEASE VISIT https://github.com/ip2location/ip2location-nginx FOR THE LATEST UPDATE.\n\n# IP2Location Nginx\n\nIP2Location Nginx module enables user to easily perform client's IP to geographical location lookup by using IP2Location database.\n\nSupported IPv4 and IPv6 address.\n\nFor more details, please visit:\n[https://www.ip2location.com/developers/nginx](https://www.ip2location.com/developers/nginx)\n\n# Installation\n1. Download IP2location C library from https://www.ip2location.com/developers/c\n2. Change the path to IP2Location library in \"ngx_http_ip2location_module.c\".\n3. Re-compile Nginx from source to include this module. Add the below directive into the compile of Nginx:\n   ./configure --add-module=/absolute/path/to/nginx-ip2location-1.0\n4. make\n5. make install\n\n\n# Usage\nChange your Nginx config file to include the 'ip2location_database' directive:\n\n    ip2location_database /absolute/path/to/IP2LOCATION-LITE-DB1.BIN;\n\n\nThe following variables will be made available in Nginx:\n\n    $ip2location_country_code\n    $ip2location_country_name\n\n# Sample BIN Databases\n* Download free IP2Location LITE databases at [https://lite.ip2location.com](https://lite.ip2location.com)  \n* Download IP2Location sample databases at [https://www.ip2location.com/developers](https://www.ip2location.com/developers)\n\n# Support\nEmail: support@ip2location.com.  \nURL: [https://www.ip2location.com](https://www.ip2location.com)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchrislim2888%2Fip2location-nginx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchrislim2888%2Fip2location-nginx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchrislim2888%2Fip2location-nginx/lists"}