Phápangristan/nginx-autoinstall
Compile NGINX from source with custom modules and patches on Debian and Ubuntu
🔧 Biên dịch NGINX tự động với hàng trăm tuỳ chọn module
Một script shell biến việc xây dựng NGINX từ source thành vài dòng lệnh — kèm đủ OpenSSL, HTTP/3, WAF, cache và streaming.
angristan/nginx-autoinstall là một script Shell tự động biên dịch và cài đặt NGINX từ mã nguồn trên Debian 9+ và Ubuntu 16.04+. Thay vì dùng gói có sẵn từ APT, người dùng có thể chọn từng module, patch và phiên bản cụ thể để xây dựng NGINX đúng theo nhu cầu.
✨ Điểm nổi bật
- Từ source: Cài đặt phiên bản mainline hoặc stable mới nhất, biên dịch trực tiếp thay vì dùng gói APT
- Block APT pinning: Tự động chặn cài đặt NGINX qua APT để tránh xung đột phiên bản
- Custom nginx.conf: Cấu hình cấu hình sẵn không mặc định, kèm init script systemd và logrotate
- LibreSSL/OpenSSL từ source: Hỗ trợ TLS 1.3, CHACHA20-POLY1305, ALPN cho HTTP/2, X25519, P-521
- HTTP/3 với Quiche: Cloudflare patch cho HTTP/3 kết hợp BoringSSL
- ngx_pagespeed: Module tối ưu hiệu năng của Google
- ngx_brotli: Nén Brotli cho response
- ModSecurity-nginx: Kết nối WAF ModSecurity bảo vệ ứng dụng web
- lua-nginx-module: Mở rộng NGINX bằng Lua với luajit2 và NDK
- nginx-ultimate-bad-bot-blocker: Chặn bot độc hại, spam referrer, anti-DDoS
- RTMP module: Hỗ trợ streaming media server
- Headless mode: Chạy không cần tương tác, phù hợp tự hoá và CI/CD
💡 Vì sao đáng chú ý
Dự án giải quyết đúng pain point của nhiều team运维: gói NGINX từ APT thường không bao gồm các module cần thiết như ModSecurity, Lua, hay Brotli, trong khi biên dịch thủ công từ source lại cực kỳ phức tạp với hàng chục dependency và patch conflict. Script này đóng gói toàn bộ quy trình đó thành một interactive CLI duy nhất.
Đặc biệt hữu ích khi cần xây dựng NGINX tùy chỉnh cho môi trường production đòi hỏi TLS hiện đại, bảo mật WAF, hoặc caching nâng cao. Chế độ HEADLESS=y cho phép tích hợp trực tiếp vào pipeline triển khai tự động. Cộng đồng duy trì script này thường xuyên cập nhật các patch mới nhất từ Cloudflare, Google và openresty.
#nginx #nginx-autoinstall #shell #HTTP3 #TLS #OpenSource #TiniX
Dự án tương tự
Khám phá các dự án và mô hình AI khác có sự tương đồng.
Armor is a simple Bash script designed to create encrypted macOS payloads capable of evading antivirus scanners.
LibreSSL Portable itself. This includes the build scaffold and compatibility layer that builds portable LibreSSL from the OpenBSD source code. Pull requests or patches sent to tech@openbsd.org are welcome.
Restish is a CLI for interacting with REST-ish HTTP APIs with some nice features built-in
Interactive roadmaps, guides and other educational content to help developers grow in their careers.
Free domain registration and practical DNS learning resources for everyone.
all-MiniLM-L6-v2 This is a sentence-transformers(https://www.SBERT.net) model: It maps sentences & paragraphs to a 384 dimensional dense vector space and can be used for tasks like clustering or semantic search. Usage (Sentence-Transformers) Using t...