• Stars
    star
    192
  • Rank 202,019 (Top 4 %)
  • Language
    Shell
  • License
    MIT License
  • Created almost 7 years ago
  • Updated 7 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Automated Nginx compilation with HTTP/3 and additional modules support. Compatible with WordOps, EasyEngine & Plesk



Nginx-ee

Automated Nginx compilation from sources with additional modules support


build MIT Stars Commits
GitHub release codacy CodeFactor nginx-ee-badge

Features β€’ Modules β€’ Compatibility β€’ Usage β€’ Wiki β€’ Related β€’ Credits β€’ License

Nginx-ee


Features

  • Compile the latest Nginx releases : stable or mainline
  • Install Nginx or replace Nginx package previously installed
  • Nginx built-in modules selection
  • Nginx Third-party modules selection
  • Dynamic modules support
  • Brotli Support
  • TLS v1.3 support (Final)
  • OpenSSL or LibreSSL
  • Cloudflare HPACK
  • Cloudflare zlib
  • Automated nginx updates cronjob
  • Compilation with GCC-7/9
  • Security hardening and performance optimization enabled with proper GCC flags
  • An option to omit nginx configuration, allowing usage of third party devops tools

Additional Third-party modules

Nginx current mainline release : v1.23.4 Nginx current stable release : v1.24.0

For Nginx http_ssl_module :

Optional modules :


Compatibility

Operating System

Recommended

  • Ubuntu 22.04 LTS (Jammy)
  • Ubuntu 20.04 LTS (Focal)
  • Ubuntu 18.04 LTS (Bionic)
  • Debian 10 (Buster)
  • Debian 11 (Bullseye)

Also compatible

  • Raspbian 10 (Buster)
  • Raspbian 11 (Bullseye)

Applications

LEMP Stack

  • EasyEngine v3
  • WordOps

Plesk

  • 17.5.x (Onyx)
  • 17.8.x
  • 17.9.x
  • 18.x (Obsidian)

Usage

One-Step Automated Install

Default settings :

  • mainline release
  • openssl from system
  • without naxsi
  • without rtmp
bash <(wget -qO - vtb.cx/nginx-ee || curl -sL vtb.cx/nginx-ee)

Alternative Install Method

git clone https://github.com/VirtuBox/nginx-ee
cd nginx-ee
sudo bash nginx-build.sh

Interactive install

Interactive installation is available with arguments -i or --interactive

bash <(wget -O - vtb.cx/nginx-ee || curl -sL vtb.cx/nginx-ee) --interactive

Custom installation

Example : Nginx stable release with naxsi

bash <(wget -O - vtb.cx/nginx-ee || curl -sL vtb.cx/nginx-ee) --stable --naxsi

Options available

Nginx build options :

  • --stable : compile Nginx stable release
  • --full : Naxsi + RTMP
  • --dynamic : Compile Nginx modules as dynamic modules
  • --noconf : Compile Nginx without any configuring. Useful when you use devops tools like ansible.

Optional third-party modules :

  • --naxsi : compile nginx with naxsi
  • --rtmp : compile nginx with rtmp module
  • --libressl : compile nginx with LibreSSL instead of OpenSSL

Extras :

  • --cron : setup daily cronjob to update nginx each time a new release is available

Roadmap

  • Add choice between stable & mainline release
  • Add Nginx configuration examples
  • Add Cloudflare HPACK patch
  • Add support for servers without EasyEngine
  • Add non-interactive installation
  • Add automated update detection
  • Add support for Plesk servers
  • Add Nginx modules choice
  • Add support for Debian 9
  • Add openssl release choice
  • Add more compilation presets
  • Add support for LibreSSL
  • Add noconf support
  • Add support for config.inc build configuration
  • Add HTTP/3 QUIC support

Packages

You are looking for an up-to-date version of Nginx with additional modules but without having to recompile Nginx after new releases ? Feel free to use the custom Nginx package built for WordOps and available on Launchpad.net (for Ubuntu) and OpenSuseBuildService (for Debian/Ubuntu/Raspbian).

Add the repository

Launchpad

sudo add-apt-repository ppa:wordops/nginx-wo -uy

OpenSuseBuildService

Install steps available on Download page

Install Nginx

sudo apt install nginx-custom nginx-wo -y

Related


Contributing

If you have any ideas, just open an issue and describe what you would like to add/change in Nginx-ee.

If you'd like to contribute, please fork the repository and make changes as you'd like. Pull requests are warmly welcome.

Credits

License

MIT Β© VirtuBox

More Repositories

1

img-optimize

Image optimization bash script
Shell
121
star
2

ubuntu-nginx-web-server

EasyEngine/WordOps optimized configuration on Ubuntu 16/18.04 LTS
Shell
108
star
3

advanced-nginx-cheatsheet

Nginx configuration cheatsheet with examples for advanced usage
66
star
4

easyengine-dashboard

A clean bootstrap dashboard for EasyEngine backend
PHP
27
star
5

ee-acme-sh

Bash script to install Let's Encrypt SSL certificates automatically using acme.sh with EasyEngine
Shell
21
star
6

bash-scripts

My own collection of bash scripts
Shell
18
star
7

wo-nginx-setup

Bash script to setup optimized WordOps
Shell
16
star
8

plesk-nginx-fascgi-cache-template

Custom Nginx WordPress VirtualHost template with Nginx fastcgi_cache for Plesk Onyx
PHP
16
star
9

ee-nginx-setup

Bash script to automate optimized EasyEngine v3 setup
Shell
14
star
10

nginx-cloudflare-real-ip

Bash script to restore visitor real IP under Cloudflare with Nginx
Shell
11
star
11

plesk-nginx

Bash script to compile nginx from source with additional modules for Plesk Onyx
Shell
8
star
12

nginx-config

Nginx optimized configurations with examples for some applications
7
star
13

bash-script-template

Bash script template with arguments parsing
Shell
6
star
14

kernel-tweak

Simple systemd service to apply linux kernel tweaks for redis & netdata
Shell
5
star
15

netdata-dashboard

Custom netdata dashboard built with bootstrap 4 - demo https://virtubox.net/netdata
HTML
4
star
16

ubuntu-plesk-onyx

Plesk Onyx custom configuration on Ubuntu 16.04 LTS
4
star
17

awesome-stars

A curated list of my GitHub stars!
3
star
18

EngineScript

EngineScript - Automated WordPress LEMP Server on Ubuntu
Shell
2
star
19

my-awesome-stars

A curated list of my GitHub stars!
1
star