proxy server
A server that sits between clients and servers and forwards requests on someone's behalf, often applying policy, caching or security on the way.
In more detail
Each proxy splits one request into two legs, client to proxy and proxy to destination, and each leg needs its own evidence. The direction tells you whose policy the proxy represents: a forward proxy acts for clients, a reverse proxy for servers.
Related terms
- forward proxy — A proxy that clients deliberately send their outbound requests through, which applies policy, caching or identity checks before reaching the destination.
- reverse proxy — A server that receives requests on behalf of other servers and forwards them, returning their responses as if they were its own.
- intermediary — Any program or device between client and server that handles traffic, such as a proxy, cache, load balancer, gateway or firewall.
- TLS termination — Ending an encrypted TLS connection at a proxy or gateway, which decrypts the traffic and forwards it on to the service.
- proxy buffering — When a proxy or CDN between server and browser collects a whole response before passing it on, which breaks streaming.
- CDN — A network of servers near users that keep copies of public content, such as images, and serve them quickly.
- middleware.ts — A single file at the project root that runs code before matching requests are routed, to redirect, rewrite, set headers or check sessions.
- web cache poisoning — An attack that gets a cache to store harmful content under a legitimate address, so everyone who asks for that address receives it.
- HTTP — The protocol web browsers and web servers use to send requests and responses.
Taught in
- What HTTPS Adds, And What It Does Not — Linux Fundamentals & Systems Administration
- Forward And Reverse Proxies — Linux Fundamentals & Systems Administration
- Streaming Endpoints: Server-Sent Events & NDJSON Feeds — Next.js 15 & Modern App Router Architecture
- Runtime Environments: Node.js vs Edge Runtime Choice — Next.js 15 & Modern App Router Architecture
- Instrumentation: OpenTelemetry & Performance Spans — Next.js 15 & Modern App Router Architecture
- Native WebSockets: Bidirectional Real-Time Streams — Node.js Internals & Backend Services