yum install nginx 2019-12-25 01:21

There are several ways to install nginx in CentOS. I recommend you install it by yum command. Quick and safe.

Before installing nginx you need to add EPEL repository.

yum install epel-release

Install nginx by yum command

yum install nginx

Enjoy.

EOF