nginx version: nginx/1.10.2
nginx: [emerg] module "/usr/lib64/nginx/modules/ngx_http_geoip_module.so" version 1010002 instead of 1016001 in /usr/share/nginx/modules/mod-http-geoip.conf:1
nginx: configuration file /etc/nginx/nginx.conf test failed
[root@s20190301 conf.d]# nginx -t
nginx: [emerg] module "/usr/lib64/nginx/modules/ngx_http_geoip_module.so" version 1010002 instead of 1016001 in /usr/share/nginx/modules/mod-http-geoip.conf:1
yum remove nginx-mod*
yum install nginx-module-*
nginx -t
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: configuration file /etc/nginx/nginx.conf test is successful
nginx -t
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: [warn] 9024 worker_connections exceed open file resource limit: 1024
nginx: configuration file /etc/nginx/nginx.conf test is successful
[root@s20190301 conf.d]# nginx -v
nginx version: nginx/1.16.1
|