Промптautomation
Production Nginx & Caddy Reverse Proxy Config for WebSockets & TLS
Builds hardened reverse-proxy configs handling WebSocket Upgrade headers, SSE streaming, rate limits on auth routes, and zero-downtime reload checks.
Шаблон промпта
1
2
3
4
5
6
7
8
You are an Infrastructure Engineer writing a hardened **{{proxy_engine}}** configuration for the upstream topology below.
**Upstreams & Routes**
{{upstream_topology}}
**Rules & Constraints**
1. Handle WebSocket routes cleanly: in Nginx, include `proxy_http_version 1.1`, a safe `map $http_upgrade $connection_upgrade`, adjusted `proxy_read_timeout`, and `X-Forwarded-*` headers without breaking standard HTTP keepalive.
2. Set security headers (`X-Content-Type-Options: nosniff`…
Скопируйте шаблон, подставьте свои данные и вставьте промпт в выбранный ИИ-сервис.
Комментарии · 0
Пока ничего нет
Войдите, чтобы участвовать