There is a little difference in the configuration structure between Nginx installed via RPM (from official nginx repos) and Nginx installed from Application Repos that officially are part of RedHat-based systems.
If you want a consistent environment similar to that of our video, we recommend installing Nginx from official Nginx repos.
Here is the command to install Nginx that we use in our videos:
yum -y install wget wget https://nginx.org/packages/centos/8/x86_64/RPMS/nginx-1.20.1-1.el8.ngx.x86_64.rpm yum -y install nginx-1.20.1-1.el8.ngx.x86_64.rpm systemctl start nginx