w10schools
Login Register
  • Home
  • Tutorials
    • HTML, CSS
      • HTML, HTML5
      • CSS, CSS3
    • XML
    • JavaScript, AJAX
    • PHP
    • Ruby on Rails
      • Ruby
      • Rails
    • ASP.NET
      • ASP
      • C# .NET
    • Java
      • JSP
    • Databases
      • MySQL
      • MSSQL Server
      • Oracle
    • Web Server
      • Windows
      • Linux
      • Apache
      • IIS
    • Design
      • Dreamweaver
      • Flash
      • Photoshop
      • Fireworks
      • CorelDRAW
      • Illustrator
  • References
    • HTML
      • Bootstrap
    • CSS
      • CSS Selectors
      • Sass
    • JavaScript
    • Mobile Apps
      • Cordova
    • Ruby on Rails
      • Ruby
      • Rails
    • PHP
      • Function
      • Language
      • CodeIgniter
      • Phalcon
      • PHPUnit
      • Symfony
      • Drupal
      • Yii
      • Laravel
    • Perl
      • Perl
    • Python
      • Python
      • Django
      • NumPy
      • Pandas
      • scikit-image
      • scikit-learn
      • Statsmodels
      • Matplotlib
    • Lua
      • Lua
    • C, C++
      • C
      • C++
    • Server
      • Docker
      • Apache HTTP Server
      • Nginx
    • Database
      • PostgreSQL
    • Big Data
      • TensorFlow
    • Game Development
      • Phaser
      • LÖVE
  • Articles
    • News
    • General
      • Website Promotion
      • Online Advertising
      • Make Money Online
    • Editorials
    • Interviews
    • Web Roundups
  • Resources
    • Design
      • Fonts
      • Graphics
      • Vectors
      • Templates
      • UI (User Interface)
      • Brushes
      • Patterns, Backgrounds
      • Textures
    • Web Development
      • HTML, CSS
      • XML
      • JavaScript, AJAX
      • Ruby on Rails
      • PHP
      • Java
      • .NET
      • Python
      • Perl
      • Flash
    • Mobile Application Development
      • Mobile Development Tools
      • Swift
    • Online Services
      • Online Storage
      • Web Hosting
  • Tools
    • Generators
  • References
  • Server
  • Nginx
  • Modules reference
  • ngx_http_geoip_module
×

Module ngx_http_geoip_module

  • Example Configuration
  • Directives
  • geoip_country
  • geoip_city
  • geoip_org
  • geoip_proxy
  • geoip_proxy_recursive

The ngx_http_geoip_module module (0.8.6+) creates variables with values depending on the client IP address, using the precompiled MaxMind databases.

When using the databases with IPv6 support (1.3.12, 1.2.7), IPv4 addresses are looked up as IPv4-mapped IPv6 addresses.

This module is not built by default, it should be enabled with the --with-http_geoip_module configuration parameter.

This module requires the MaxMind GeoIP library.
Links:
  • https://nginx.org/en/docs/http/ngx_http_geoip_module.html
geoip_city
  • References/Server/Nginx/Modules reference/ngx_http_geoip_module

Syntax: geoip_city file; Default: — Context:

2025-01-10 15:47:30
geoip_country
  • References/Server/Nginx/Modules reference/ngx_http_geoip_module

Syntax: geoip_country file; Default: — Context:

2025-01-10 15:47:30
geoip_proxy_recursive
  • References/Server/Nginx/Modules reference/ngx_http_geoip_module

Syntax: geoip_proxy_recursive on | off; Default: geoip_proxy_recursive

2025-01-10 15:47:30
geoip_proxy
  • References/Server/Nginx/Modules reference/ngx_http_geoip_module

Syntax: geoip_proxy address | CIDR; Default: —

2025-01-10 15:47:30
geoip_org
  • References/Server/Nginx/Modules reference/ngx_http_geoip_module

Syntax: geoip_org file; Default: — Context:

2025-01-10 15:47:30
Popular Articles
pyplot pyplot matplotlib.pyplot Provides a MATLAB-like plotting framework. pylab combines pyplot with numpy into a single namespace. This is convenient for
Ion.RangeSlider - jQuery range slider with skin support Ion.RangeSlider is an easily customizable jQuery range slider. It has flexible settings and can be completely altered with CSS.   Ion.RangeSlider - 
Types Types JavaScript provides several built-in datatypes. In addition to those, this page documents virtual types like Selectors, enhanced pseudo-types
perlapi - autogenerated documentation for the perl public API NAME DESCRIPTION "Gimme" Values Array Manipulation Functions xsubpp variables and internal functions Callback Functions Character case changing Char
1. Overview This is a practical guide to Angular for experienced programmers who are building client applications in HTML and TypeScript. Organization The docu


  • Facebook
  • Tweet
  • Digg it
  • Stumbleupon
  • Delicious
  • Plus Share

Designed by : w10schools

service@w10schools.com

Our Partners: aeeble – Providing content publishing and search solutions