How to install nginx-module-geoip2 on SUSE Linux Enterprise
NGINX GeoIP2 module
Availability
| Distro | aarch64 | noarch | x86_64 | Version |
|---|---|---|---|---|
| SLES 16 | ✓ | — | ✓ | 1.30.4+3.4 |
| SLES 15 | ✓ | — | ✓ | 1.28.0+3.4 |
Description
NGINX module which creates variables with values from the MaxMind geoip2 databases. based on the client IP (default) or from a specific variable (supports both IPv4 and IPv6) To enable this module after installation, add the following to /etc/nginx/nginx.conf and reload NGINX: load_module modules/ngx_http_geoip2_module.so; load_module modules/ngx_stream_geoip2_module.so; Alternatively, enable all installed modules by adding this line to the top of /etc/nginx/nginx.conf: include /usr/share/nginx/modules/*.conf;
Built for SUSE Linux Enterprise.
Install
nginx-module-geoip2 on SUSE Linux Enterprise 15, 16
sudo zypper --non-interactive install https://extras.getpagespeed.com/release-latest.rpm sudo zypper --non-interactive install nginx-module-geoip2
Package downloads require an active GetPageSpeed subscription — one repository for nginx-module-geoip2 and thousands more packages for SUSE Linux Enterprise.
Subscribe — from $10/moFrequently asked questions
How do I install nginx-module-geoip2 on SUSE Linux Enterprise?
Add the GetPageSpeed repository, then install the nginx-module-geoip2 package with your system package manager.
Which SUSE Linux Enterprise versions is nginx-module-geoip2 available for?
nginx-module-geoip2 is available for SLES 15, 16.