Skip to content

Instantly share code, notes, and snippets.

@jose16-21
Last active November 30, 2022 09:29
Show Gist options
  • Save jose16-21/68d09dc51cf72e3eb2100565e1a49ee3 to your computer and use it in GitHub Desktop.
Save jose16-21/68d09dc51cf72e3eb2100565e1a49ee3 to your computer and use it in GitHub Desktop.
Install Nginx web server

Nginx is a web server and a reverse proxy server for HTTP/HTTPS and more. It is part of LEAP stack. Simply type the following yum command to install it on Amazon Linux AMI:

  • sudo yum search nginx
  • sudo yum info nginx
  • sudo yum install nginx

To start nginx server running

  • sudo service nginx start

Enable service at boot time using the chkconfig command

  • sudo chkconfig nginx on
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment