# lebinh/nginx-conf

A collection of useful Nginx configuration snippets

Repository: https://github.com/lebinh/nginx-conf
Canonical: https://ross.abutalabs.com/products/nginx-conf
License: MIT
License Family: permissive
Last push: 2017-10-13T14:36:47+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 4223, "days_push": 3246, "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 2116, forks 337 (observed 2026-08-28T04:06:16.204517+00:00)

## What it is
A curated collection of useful Nginx configuration snippets covering rewrites, redirects, performance, caching, and security. It serves as a copy-paste reference for common Nginx server setups.

## Use cases
- force www or no-www redirects in nginx
- force https with hsts in nginx
- enable gzip compression and caching in nginx
- secure ssl settings for nginx
- enable basic auth in nginx
- nginx cors configuration example

## When to choose
- you need quick, proven nginx config snippets for common tasks
- you want a reference for redirects, caching, and ssl hardening
- you are setting up or hardening an nginx web server

## When to avoid
- you need an automated nginx config generator or management tool
- you use a different web server like apache or caddy
- you need actively maintained snippets for the latest nginx versions

## Facets
- artifact type: learning-resource
- maturity: maintenance
- function: configuration-management, security, caching, documentation
- domain: web-development, self-hosted, documentation
- platform: self-hosted
- tags: nginx, config-snippets, reference, reverse-proxy, ssl, devops, linux, web-server

## Member repositories
- lebinh/nginx-conf (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:16.204517+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:53:19.977368+00:00, confidence not recorded.
  - readme: https://github.com/lebinh/nginx-conf (fetched 2026-08-28T04:06:16.204517+00:00, sha 319e7a71f977)
- Data as of 2026-08-30T08:39:29.467469+00:00.
