Skip to content

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

License

Notifications You must be signed in to change notification settings

naologic/nginx-builder

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

  • --full Install server and clean existing repos
  • --clean Clean local files
  • --compile Compile from existing directories
  • --deps Only dependencies
  • --down Only download modules

Server Configs

  • --simple Simple web server with perfromance modules and standard configuration
  • --simple_ssl Simple web server but with extra SSL features
  • --steroids Nginx, 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 ❤️ **