Vesta 2.0 is coming soon! See our progress update: https://vestacp.com/docs/vesta-2-update
nginx http_geoip_module CentOS как?
-
- Posts: 5
- Joined: Sat Feb 06, 2016 6:51 am
nginx http_geoip_module CentOS как?
# nginx -V
nginx version: nginx/1.10.0
...
--with-http_geoip_module=dynamic
...
geoip_country /usr/share/GeoIP/GeoIP.dat; выдает ошибку unknown directive "geoip_country"
load_modules modules/ngx_http_geoip_module.so; выдает ошибку cannot open shared object file: No such file or directory
nginx version: nginx/1.10.0
...
--with-http_geoip_module=dynamic
...
geoip_country /usr/share/GeoIP/GeoIP.dat; выдает ошибку unknown directive "geoip_country"
load_modules modules/ngx_http_geoip_module.so; выдает ошибку cannot open shared object file: No such file or directory
-
- Posts: 5
- Joined: Sat Feb 06, 2016 6:51 am
Re: nginx http_geoip_module CentOS как?
Все оказалось намного проще
yum install nginx-module-geoip
yum install nginx-module-geoip