Reverse Proxy
Cheat sheet · https://pcornel.dk/topic.php?topic=5078
Answer
A Reverse Proxy terminates or brokers client-facing application traffic before backend services, enabling centralized routing, TLS, authentication integration, policy, header handling and observability while hiding direct backend exposure.
Remember
- Reverse proxy ≠ WAF automatically.
- TLS termination ≠ backend trust established.
- Design intent ≠ runtime enforcement; prove the policy decision, actual enforcement point and observed resource outcome independently.
- No observed bypass ≠ no bypass unless alternate paths, failure modes, management paths and telemetry coverage have been tested.
First checks
nginx -T | grep -E 'proxy_pass|ssl_'— reverse proxy configcurl -sI https://<site>— headers via proxy- Backend not directly reachable — exposure
Verify in this order
client → reverse proxy (TLS, policy) → backend
Where it usually breaks
First mismatch in asset/subject identity → trust/authentication → authorization/policy → enforcement/control → telemetry/detection → protected outcome/response; preserve identity/policy/pre-state before mutation.
Reverse Proxy architecture/evidence map
| Boundary | Establish | Does not establish |
|---|---|---|
| Intent / policy | Required trust and access behavior | Runtime enforcement or bypass resistance |
| Decision / context | Inputs and resulting authorization decision | That the decision reached every enforcement point |
| Enforcement / path | Observed allow, deny, step-up or isolation on one path | Coverage of alternate, management or degraded paths |
| Telemetry / reassessment | What state changed and when policy reacted | Complete visibility or absence of compromise |
| Outcome / residual risk | Resource result under the tested conditions | Security outside the tested identities, resources and failure modes |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=5078