{"id":15064708,"url":"https://github.com/anonvm/nginx-installer","last_synced_at":"2025-04-10T12:41:13.142Z","repository":{"id":252411722,"uuid":"840362949","full_name":"AnonVM/Nginx-Installer","owner":"AnonVM","description":"Automate NGINX Compilation from Source with Custom Modules and Patches on Debian \u0026 Ubuntu","archived":false,"fork":false,"pushed_at":"2024-08-10T18:08:01.000Z","size":35,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-24T11:21:33.739Z","etag":null,"topics":["bot","brotli","cache","cloudflare","firewall","geolocation","http","http2","https","lua","modsecurity","nginx","pagespeed","proxy","redis","rtmp","tengine","waf"],"latest_commit_sha":null,"homepage":"https://anonvm.wtf","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AnonVM.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-09T14:32:11.000Z","updated_at":"2024-09-21T04:25:00.000Z","dependencies_parsed_at":"2024-08-10T19:43:22.611Z","dependency_job_id":null,"html_url":"https://github.com/AnonVM/Nginx-Installer","commit_stats":null,"previous_names":["anonvm/nginx-installer"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnonVM%2FNginx-Installer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnonVM%2FNginx-Installer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnonVM%2FNginx-Installer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnonVM%2FNginx-Installer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AnonVM","download_url":"https://codeload.github.com/AnonVM/Nginx-Installer/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248217156,"owners_count":21066634,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bot","brotli","cache","cloudflare","firewall","geolocation","http","http2","https","lua","modsecurity","nginx","pagespeed","proxy","redis","rtmp","tengine","waf"],"created_at":"2024-09-25T00:25:28.007Z","updated_at":"2025-04-10T12:41:13.126Z","avatar_url":"https://github.com/AnonVM.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NGINX Auto Install Script\n\nEasily compile and install NGINX from source with custom features, modules, and patches.\n\n## Supported Systems\n\n- **Debian** 9 and later\n- **Ubuntu** 16.04 and later\n\n## Key Features\n\n- Compile the latest mainline or stable NGINX from source.\n- Integrate optional modules and patches.\n- Use a [custom nginx.conf](https://github.com/AnonVM/Nginx-Installer/blob/master/conf/nginx.conf) for enhanced performance.\n- Include a [systemd init script](https://github.com/AnonVM/Nginx-Installer/blob/master/conf/nginx.service) (not provided by default).\n- Configure [logrotate](https://github.com/AnonVM/Nginx-Installer/blob/master/conf/nginx-logrotate) for efficient log management.\n- Block APT-based NGINX installations to avoid conflicts.\n\n### Optional Modules and Enhancements\n\n- **LibreSSL or OpenSSL from Source:** Enable cutting-edge TLS features like HTTP/2, CHACHA20, and TLS 1.3.\n- **Cloudflare Patches:** Add HTTP/3, TLS Dynamic Record Resizing, and HPACK encoding.\n- **Performance Modules:** Integrate [ngx_pagespeed](https://github.com/pagespeed/ngx_pagespeed) for optimization and [ngx_brotli](https://github.com/google/ngx_brotli) for Brotli compression.\n- **Security Enhancements:** Use [ModSecurity](https://github.com/SpiderLabs/ModSecurity) for WAF, [testcookie-nginx-module](https://github.com/kyprizel/testcookie-nginx-module) for bot protection, and [nginx-ultimate-bad-bot-blocker](https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker) for blocking malicious traffic.\n- **Cache Modules:** Incorporate Redis-based caching with [redis2-nginx-module](https://github.com/openresty/redis2-nginx-module) and [ngx_http_redis](https://www.nginx.com/resources/wiki/modules/redis/).\n- **Additional Modules:** Extend functionality with [lua-nginx-module](https://github.com/openresty/lua-nginx-module), [RTMP module](https://github.com/arut/nginx-rtmp-module) for streaming, and more.\n\n## How to Use\n\nDownload and execute the script to:\n\n- Install or update NGINX\n- Uninstall with optional cleanup\n- Self-update the script\n\n```sh\nwget https://raw.githubusercontent.com/AnonVM/Nginx-Installer/main/setup.sh\nchmod +x setup.sh\n./setup.sh\n```\n\nCheck out [configuration examples](https://github.com/AnonVM/Nginx-Installer/tree/master/conf) for custom modules.\n\n### Headless Mode\n\nFor automated installations, run the script in headless mode by setting `HEADLESS=y`.\n\n```sh\nHEADLESS=y ./setup.sh\n```\n\nExample commands:\n\n- **Install NGINX with Brotli:**  \n  ```sh\n  HEADLESS=y NGINX_VER=MAINLINE BROTLI=y ./setup.sh\n  ```\n- **Install with GeoIP:**  \n  ```sh\n  HEADLESS=y GEOIP=y GEOIP2_ACCOUNT_ID=YOUR_ACCOUNT_ID_HERE GEOIP2_LICENSE_KEY=YOUR_LICENSE_KEY_HERE ./setup.sh\n  ```\n- **Uninstall with Cleanup:**  \n  ```sh\n  HEADLESS=y OPTION=2 RM_CONF=y RM_LOGS=y ./setup.sh\n  ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanonvm%2Fnginx-installer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanonvm%2Fnginx-installer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanonvm%2Fnginx-installer/lists"}