Zawap
Promptautomation

Hardened Nginx Reverse Proxy Configurator (HTTP + WebSocket)

Generates an Nginx vhost config with security headers, WebSocket upgrades, safe static caching, and privacy logging.

{}2 variables•Free•Author: ALeeXSD
Prompt template
1
2
3
4
5
6
7
8
9
10
Generate an Nginx server block for {{domain_name}}. Upstreams (API, frontend, WebSocket): {{upstreams}} Must include: 1. `server_tokens off` and `proxy_hide_header` to prevent duplicate security headers. 2. Status-aware immutable caching for static assets (`no-store` on errors). 3. Proper WebSocket `Upgrade` and `X-Real-IP` forwarding. Output format & rules: concise structured response with zero filler.

Copy the template, add your details, and paste the prompt into your chosen AI service.

Comments · 0

Nothing here yet

Sign in to participate