Skip to content

Repository files navigation

nginx installer

This is a nginx installer + configuration + modules + patches for web speed and security.

Feel free to use, add, modify at will. Apart the normal build dependencies, it will install lua 2.0 (unless it's installed already), Google's brotli compression engine (better for large files), and a number of nginx modules. If you don't plan on using all the modules, see the install files to disable them.

This installer is for Ubuntu 16.04

Options

  • --fullInstall server and clean existing repos
  • --cleanClean local files
  • --compileCompile from existing directories
  • --depsOnly dependencies
  • --downOnly download modules

Server Configs

  • --simpleSimple web server with perfromance modules and standard configuration
  • --simple_sslSimple web server but with extra SSL features
  • --steroidsNginx, Lua, Lua Scripts, JWT, Imagemagik, Compression

Configs

Paths and install locations are set in config.sh

Install

git clone https://github.com/gp187/nginx-builder
cd nginx-builder/
chmod +x install.sh
sudo ./install.sh --full --steroids

Very important: check that /config.sh has the correct paths for SCRIPT_PATH and ROOT variables

Modules

This is where I got the modules from to import them in the builder https://github.com/agile6v/awesome-nginx

Known Errors

  • LC_ALL not set _happens often on AWS instances. Make sure you set country or region you are in! Fix is here
  • aclocal-1.15 command not found _common error due to default automake package which is 1.4. Fix is Here

DEVMODE

This is still in dev mode. Feel free to report bugs and use ONLY from ./install.sh. I'm working on making it a service

*** more to come ***


💻 Contributors

| | Nume | Rol | ----- | ---- | ------- | -------: :boy: | Gabriel | Owner | :boy: | Marvin | Coder |

**From Paris with ❤️ **

About

A bash script & GUI interface to make adding modules and building nginx easy and fast

Topics

Resources

Stars

98 stars

Watchers

7 watching

Forks

Releases

Packages

Contributors

Languages