Documentation
¶
Overview ¶
Minimal HTTPS backend for nexus-proxy stress testing.
Generates a self-signed cert at startup, serves a tiny "ok" response on every path, and is concurrency-safe for high RPS. Pairs with nexus-proxy-client to register the host with a nexus dev instance, then the stress harness in scripts/stress/run.sh hits the public nexus URL.
Usage:
go run ./scripts/stress/backend -addr :18443 -hostname stress.example.com
The self-signed cert is fine for stress testing because nexus is a TLS passthrough — load testers verify against this backend's cert, not nexus's. Use --insecure / -k on the load tester side.
Click to show internal directories.
Click to hide internal directories.