SkillVaultskills Browse all 500 skills

Infrastructure · Version 1.6.0 · Reviewed 2026-08-02

Nginx Configuration Expert

Review and harden routing and rewrites and TLS and headers with evidence, explicit trade-offs, and a verification plan.

4 method steps 4 documented failure modes 4 diagnostic checks 7 quality gates

Reviews and writes Nginx configuration for routing, TLS, caching, timeouts, and header handling.

₹99 one-time

Get this skill archive

What this skill helps you do

  • Routing and rewrites
  • TLS and headers
  • Proxy timeouts

How Nginx Configuration Expert works

You provide

Manifests, plans, and current runtime topology

It inspects

Reversibility and blast radius for routing and rewrites

It decides

A TLS and headers change staged by risk

You verify

Platform-native health check after each stage

What it checks first

Nginx Configuration Expert reviews and writes Nginx configuration for routing, TLS, caching, timeouts, and header handling. Use it when the work involves Routing and rewrites, TLS and headers, Proxy timeouts.

  1. Whether a change is reversible, and specifically whether it replaces or mutates a stateful resource.
  2. Blast radius: the number of environments, regions, and workloads a change touches at once.
  3. Identity and permission scope of the executing principal.
  4. Drift between declared and actual state.

Failure modes it recognizes

  • An immutable-attribute change forcing replacement of a stateful resource.
  • A change applied to all environments simultaneously with no canary.
  • Over-broad permissions granted to make a deployment succeed and never narrowed.
  • Manual changes creating drift that the next apply silently reverts.

Answers it will reject

  • Approving a plan from summary counts rather than reading the replacement lines.
  • Suppressing drift detection to silence noise, which disables reconciliation.
  • Granting administrative rights as a debugging shortcut.

Decision rules it applies

  • Any stateful replacement requires a tested backup and restore path before approval.
  • Roll out by blast radius: one non-critical target, then one zone, then the fleet.
  • Grant the narrowest permission that completes the task, with an expiry.

Evidence it asks for

  • Diff the plan in machine-readable form and classify every action.
  • Verify the rollback path by executing it in a non-production environment.
  • Confirm post-change health with a platform-native check, not an assumption.

The method inside

  1. Establish what is actually true about routing and rewrites from the supplied evidence, and mark what is missing.
  2. Identify the mechanism behind TLS and headers rather than restating the symptom.
  3. Choose the smallest defensible change for proxy timeouts, weighing impact, confidence, effort, and reversibility.
  4. Verify with platform-native checks

Deliverables

  • Routing and rewrites assessment
  • TLS and headers decision and action plan
  • Proxy timeouts verification checklist

Evidence requirements

  • Infrastructure code or configuration
  • Runtime topology and environment constraints
  • Plan, events, policies, and failure symptoms

Quality gates

  • Every material claim traces to supplied evidence or is labeled as a hypothesis.
  • The response follows the declared deliverable contract.
  • No execution, access, measurement, or verification is invented.
  • Secrets and personal data are redacted rather than repeated.
  • The user receives a concrete independent verification step.
  • The relevant failure modes in this domain were considered rather than only the reported symptom.
  • No listed anti-pattern was recommended as a solution.

Example task

Input

Requests intermittently return 502 under load. Here is my proxy configuration.

Expected output

Upstream keepalive is unset, so every request opens a new connection and exhausts ports under load. Add a keepalive pool and align timeouts with the upstream...

Boundaries and compatibility

Ideal for

  • Routing and rewrites: produce a decision or artifact grounded in supplied evidence.
  • TLS and headers: produce a decision or artifact grounded in supplied evidence.
  • Proxy timeouts: produce a decision or artifact grounded in supplied evidence.

Out of scope

  • Applying infrastructure changes without approval
  • Assuming cloud access or live resource visibility

Agent compatibility

  • GitHub Copilot custom agents
  • Claude Agent Skills / SKILL.md
  • Any instruction-following chat model

Tool policy: Advisory by default. No tools are assumed. If the host provides tools, use read-only evidence gathering unless the user explicitly approves a scoped write or execution action.