# denji/nginx-tuning

NGINX tuning for best performance

Repository: https://github.com/denji/nginx-tuning
Canonical: https://ross.abutalabs.com/products/nginx-tuning
Homepage: https://git.io/vSvsq
License: MIT
License Family: permissive
Topics: nginx, tuning, security, best-practices, details
Last push: 2026-01-11T09:57:27+00:00

## Health v2 (maintenance only)
Score: 60/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 61, release rhythm 35, longevity 100
- inputs: {"age_days": 3456, "days_push": 234, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2703, forks 398 (observed 2026-08-28T04:07:11.517401+00:00)

## What it is
A curated reference of NGINX configuration snippets and tuning guidance for maximizing web server performance, covering worker processes, connection handling, caching, logging, and security settings. It is a documentation-style resource (originally a gist) rather than installable software.

## Use cases
- tune nginx for high traffic
- optimize nginx worker_connections and worker_processes
- speed up nginx file serving with sendfile and open_file_cache
- harden nginx configuration with security best practices
- reduce nginx cpu usage under load
- example nginx.conf for high request rates

## When to choose
- you administer an NGINX server and want proven performance-tuning directives
- you need a reference config to benchmark and adapt for high-concurrency workloads
- you want a checklist of common NGINX security and performance best practices

## When to avoid
- you need a turnkey production config - the author explicitly states it is for testing environments and requires adaptation
- you use a web server other than NGINX
- you want an automated tuning tool rather than manual configuration guidance

## Facets
- artifact type: learning-resource
- maturity: active
- function: http-server, security, configuration-management, developer-tools
- domain: web-development, performance, self-hosted
- platform: self-hosted
- tags: nginx, performance-tuning, nginx-config, web-server-optimization, sysadmin, best-practices, devops, linux, web-server

## Member repositories
- denji/nginx-tuning (main) score 60

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:11.517401+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:15:55.277959+00:00, confidence not recorded.
  - readme: https://github.com/denji/nginx-tuning (fetched 2026-08-28T04:07:11.517401+00:00, sha 2de2f6392f94)
  - homepage: https://git.io/vSvsq (fetched 2026-08-29T09:59:23.520720+00:00, sha dafce4d58a49)
- Data as of 2026-08-30T08:39:29.467469+00:00.
