nano /etc/yum.repos.d/nginx.repo
[nginx-stable] name=nginx stable repo baseurl=http://nginx.org/packages/centos/$releasever/$basearch/ gpgcheck=1 enabled=1 gpgkey=https://nginx.org/keys/nginx_signing.key module_hotfixes=true
yum update && yum upgrade
rpm -qa | grep nginx
yum remove nginx-mod-http-image-filter nginx-mod-stream nginx-mod-mail nginx-mod-http-perl nginx-all-modules nginx-mod-http-xslt-filter nginx-filesystem
service nginx restart
Comment feed