Install Nginx HTTP server – RHEL 8

Install Nginx HTTP server – RHEL 8

Install Nginx HTTP Server Installation 
Method -1
 
#Login as root user and execute the below command for install nginx http server.
sudo su –
yum install nginx -y
 
#Enable the service as follows.
systemctl enable nginx.service
#Start the HTTP server as follows.
systemctl start nginx.service
Important Points
  1.   nginx.conf file is the configuration file for Nginx HTTP server, which is available in         /etc/nginx/  directory.
  2. Logs will be available in /var/log/nginx/ directory.
Post Tags :

Leave a Reply

X