KMS & Stack Tuning
Nginx Reverse Proxy limit_req, HTTP/2 & TLS Keepalive Tuning
Protect Fastify event loops against misconfigured CI loops while allowing legitimate parallel Kubernetes secret pulls.
limit_req nodelay · HTTP/2 Keepalive · TLS 1.3 0-RTT Off
Isolating /api/v3/secrets/ Rate Zones
Apply stricter burst caps on authentication endpoints while giving /api/v3/secrets/ a generous burst=2*rate nodelay buffer for deployment rollouts.
TLS Cipher & Session Reuse
Enable TLS 1.2/1.3 with shared 20 MB SSL session caching so short-lived CLI calls reuse session tickets cleanly.
Measured Thresholds & KMS Configuration
| Nginx Directive | Recommended Value | Operational Role |
|---|---|---|
| limit_req_zone | 2.5x steady RPS rate | Stops infinite retry CI loops before Node |
| keepalive | 32 upstream sockets | Eliminates ephemeral port exhaustion |
| proxy_read_timeout | 30s | Prevents hung connections during bulk exports |