nginx :
yum -y install epel-release
yum -y install nginx
systemctl start nginx
systemctl enable nginx

yum -y install net-tools
netstat -plntu

// go to browser check if ip point to nginx if not? 
firewall-cmd --permanent --add-service=http
firewall-cmd --reload

Enable the Nginx service at system startup.
systemctl enable nginx

yum install
// Disable Remi PHP 5.4 repository
yum install -y yum-utils
yum-config-manager --disable remi-php54
// Enable Remi PHP 7.3 repository
yum-config-manager --enable remi-php73
yum install php

// Enable PHP-FPM Support on Virtual Host
nano /etc/nginx/conf.d/web.itzgeek.local.conf
server {
   server_name web.itzgeek.local;
   root /usr/share/nginx/html/web.itzgeek.local;

   location / {
       index index.html index.htm index.php;

   location ~ \.php$ {
      include /etc/nginx/fastcgi_params;
      fastcgi_index index.php;
      fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
mkdir /usr/share/nginx/html/web.itzgeek.local
echo "<?php phpinfo(); ?>" > /usr/share/nginx/html/web.itzgeek.local/index.php
systemctl restart nginx
systemctl restart php-fpm

source :