A free, open-source, high-performance HTTP server and reverse proxy
What is Nginx?
Nginx [voiced as engine x] is a high-performance HTTP and reverse proxy server, a mail proxy server, and a generic TCP proxy server written originally by Igor Sysoev.
This box installs an Nginx server and starts its services without any customization.
http: Specifies the HTTP port to open [80 is default].
cookbook: Pulls the Nginx chef recipe using the Chef cookbook box.
solo: Installs chef-solo to run the Nginx recipe.
An instance executing this box uses bash scripts and chef-solo to download, install, and configure Nginx. Box events manage the Nginx lifecycle as follows:
chef_solo pre_install: Installs chef-solo.
chef_cookbook pre_configure: Creates the recipes folder, downloads and configures the default.rb and metadata.rb files of the Chef cookbook from ElasticBox.
chef_solo pre_configure: Downloads and configures solo.rb and solo.json files to run chef-solo, which will follow the Nginx recipe to install the Nginx server on the instance.
This deployment supports these Linux distributions:
Amazon Linux AMI 2015.03
Centos 6.5, 7
Ubuntu 12.04, 14.04