All Projects → angristan → Nginx Autoinstall

angristan / Nginx Autoinstall

Licence: gpl-3.0
Compile Nginx from source with custom modules on Debian and Ubuntu

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to Nginx Autoinstall

Nginx Ee
Automated Nginx compilation from sources with additional modules support. Compatible with WordOps, EasyEngine & Plesk
Stars: ✭ 132 (-70.2%)
Mutual labels:  cloudflare, debian, openssl, brotli, pagespeed, nginx
Nano Nginx
Nano container with nginx preconfigured as reverse proxy
Stars: ✭ 15 (-96.61%)
Mutual labels:  openssl, brotli, pagespeed, nginx
Setup Nginx Webserver
🚀Setup a perfect webserver on CentOS/Redhat 7.x guide with understanding.
Stars: ✭ 65 (-85.33%)
Mutual labels:  http2, openssl, brotli, nginx
Vestacp nginx pagespeed http2
Rebuild Nginx with Google PageSpeed and http/2 for VestaCP
Stars: ✭ 16 (-96.39%)
Mutual labels:  http2, pagespeed, nginx
Patch
Something could be public patches
Stars: ✭ 120 (-72.91%)
Mutual labels:  cloudflare, openssl, nginx
Slickstack
SlickStack is a free LEMP stack automation script written in Bash designed to enhance and simplify WordPress provisioning, performance, and security.
Stars: ✭ 311 (-29.8%)
Mutual labels:  cloudflare, debian, nginx
Docker Nginx Http3
Alpine Linux image with Nginx 1.19.4 (mainline) with HTTP/3 (QUIC), TLSv1.3, 0-RTT, brotli, NJS support, and 10 MB size. All built on the bleeding edge for max performance. Built on the edge, for the edge.
Stars: ✭ 820 (+85.1%)
Mutual labels:  http2, brotli, nginx
Katwebx
An extremely fast static web server and reverse proxy for the modern web.
Stars: ✭ 39 (-91.2%)
Mutual labels:  http2, brotli
Monitaure
🔔 A server uptime monitoring progressive web application - NO LONGER MAINTAINED
Stars: ✭ 135 (-69.53%)
Mutual labels:  http2, nginx
Th3inspector
Th3Inspector 🕵️ Best Tool For Information Gathering 🔎
Stars: ✭ 1,041 (+134.99%)
Mutual labels:  geoip, cloudflare
Ngx http ipdb module
Another nginx http geoip module by ipdb
Stars: ✭ 104 (-76.52%)
Mutual labels:  geoip, nginx
Ip2geo
Импортер ipgeo-данных в файлы, понятные для nginx geoip module, с поддержкой кодов регионов РФ.
Stars: ✭ 59 (-86.68%)
Mutual labels:  geoip, nginx
Docker Elastic Stack
ELK Stack Dockerfile
Stars: ✭ 175 (-60.5%)
Mutual labels:  geoip, nginx
Express Security
nodejs + express security and performance boilerplate.
Stars: ✭ 37 (-91.65%)
Mutual labels:  http2, brotli
Nginxconfig.io
⚙️ NGINX config generator on steroids 💉
Stars: ✭ 14,983 (+3282.17%)
Mutual labels:  http2, nginx
Golang Tls
Simple Golang HTTPS/TLS Examples
Stars: ✭ 857 (+93.45%)
Mutual labels:  http2, openssl
Country Ip Blocks
CIDR country-level IP data, straight from the Regional Internet Registries, updated hourly.
Stars: ✭ 100 (-77.43%)
Mutual labels:  geoip, nginx
warp-up
Automatically generated referrer bonuses for Cloudflare WARP (https://1.1.1.1)
Stars: ✭ 24 (-94.58%)
Mutual labels:  debian, cloudflare
restio
HTTP Client for Dart inspired by OkHttp
Stars: ✭ 46 (-89.62%)
Mutual labels:  http2, brotli
nginx-more
Development repository for nginx-more package
Stars: ✭ 96 (-78.33%)
Mutual labels:  cloudflare, pagespeed

nginx-autoinstall

Compile and install NGINX from source with optional features, modules and patches.

Compatibility

  • Debian 8 and later
  • Ubuntu 16.04 and later

The script might work on ARM-based architectures, but it's only being regularly tested against x86_64 with GitHub Actions.

Features

  • Latest mainline or stable version, from source
  • Optional modules and patches
  • Custom nginx.conf (default does not work)
  • Init script for systemd (not provided by default)
  • Logrotate conf (not provided by default)
  • Block Nginx installation from APT using pinning, to prevent conflicts

Optional modules/features

Usage

Just download and execute the script :

wget https://raw.githubusercontent.com/angristan/nginx-autoinstall/master/nginx-autoinstall.sh
chmod +x nginx-autoinstall.sh
./nginx-autoinstall.sh

You will be able to:

  • Install NGINX
  • Update NGINX (It will install it again and overwrite current files and/or modules.)
  • Uninstall NGINX with optional cleanup
  • Self-update the script

Just follow the question!

You can check configuration examples for the custom modules.

Headless use

You can run the script without the prompts with the option HEADLESS set to y. This allows for automated install and scripting. This is what is used to test the script with GitHub Actions.

HEADLESS=y ./nginx-autoinstall.sh

To install Nginx mainline with Brotli:

HEADLESS=y \
NGINX_VER=MAINLINE \
BROTLI=y \
./nginx-autoinstall.sh

To uninstall Nginx and remove the logs and configuration files:

HEADLESS=y \
OPTION=2 \
RM_CONF=y \
RM_LOGS=y \
./nginx-autoinstall.sh

All the default variables are set at the beginning of the script.

LICENSE

GPL v3.0

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].