Skip to content

Latest commit

 

History

History
49 lines (41 loc) · 2.35 KB

README.md

File metadata and controls

49 lines (41 loc) · 2.35 KB

nginx-installer

This installer is a bash script written to ease the compiling process of custom nginx installs with additional patches and/or modules. It will download the specified nginx version provided, apply any patches and/or modules available at runtime, and begin the compile and install process.

Usage

  1. Clone the repo.

    $ git clone https://github.com/oohnoitz/nginx-installer.git
    
  2. Download Modules

    $ ./install-module.sh <module>`
    

    The <module> parameter should be replaced with the name of a module in the list below.

  3. Apply Patches

    1. Create a patches directory.
      $ mkdir -p patches
      
    2. Store all patches in the patches directory.
  4. Install!

    $ sudo ./install-nginx.sh <version>
    

    The <version> parameter should be replaced with the actual version number of nginx you wish to compile and install. For example, $ sudo ./install-nginx 1.5.10 would compile and install nginx 1.5.10 onto your server.

List of Installable Modules

This is an extensive list of modules that can be retrieved with the included script which will be applied to the installation automatically. If you have any requests, feel free to contribute or ask.