Skip to content
Back to skills

Forge Nginx Config

ASecurity

Configure nginx as a reverse proxy with TLS, timeouts, headers, buffering and safe defaults

  • 7 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 30, 2026
ai-agentssecurityperformance

Works with

  • cli

Security analysis

A100/100

Scanned November 30, 2026

npx -y skills add ansh44233/forge --skill forge-nginx-config --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Forge Nginx Config?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Forge Nginx Config
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ansh44233-forge-nginx-config/badge)](https://www.skillsdirectory.com/skills/ansh44233-forge-nginx-config)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: forge-nginx-config
description: Configure nginx as a reverse proxy with TLS, timeouts, headers, buffering and safe defaults
---

<!-- Generated from catalog/skills/nginx-config/SKILL.md by scripts/build-plugin.ts. Edit the catalog, not this file. -->

# nginx configuration

Small config mistakes in nginx become outages or vulnerabilities.

## Proxying
- Set `proxy_set_header Host`, `X-Forwarded-For`, `X-Forwarded-Proto`; upstream keepalive.
- Explicit timeouts (`proxy_read_timeout`) and `client_max_body_size` matching the app.
- WebSockets need `Upgrade`/`Connection` headers.

## Security
- TLS 1.2+ with modern ciphers, HSTS, OCSP stapling; redirect HTTP to HTTPS.
- `server_tokens off`; deny access to dotfiles; no `alias` path traversal (`location /x { alias /y/; }` needs matching slashes).

## Performance
- gzip/brotli for text, long cache headers for hashed static assets.

## Verify
`nginx -t` passes, and curl checks confirm the redirect, headers and a large-upload limit behave as intended.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.