Skip to catalogue

199

reverse proxy

A server in front of your app that terminates clients and forwards inward. Your app is not exposed raw unless you mean it to be.

What is reverse proxy?

A reverse proxy accepts public traffic and proxies it to internal services: TLS, compression, request size limits, buffering. A forward proxy is the opposite direction — a client using a proxy to get out. Nginx, Envoy, and cloud load balancers often play the reverse role.

Why does reverse proxy matter when vibe coding?

Models bind the app to the public internet and also trust `X-Forwarded-For` from anyone. Name who is allowed to set the forwarding headers.

How do you do reverse proxy?

The proxy is the only public listener. The app trusts forwarded headers only from the proxy. Body size limits live at the proxy. Timeouts are aligned with the app.

How do you ask a model for reverse proxy?

Put a reverse proxy in front of (app). The app listens privately. Trust X-Forwarded-For only from the proxy. Set the body size limit and timeouts at the proxy. Do not expose the app port publicly.

What goes wrong with reverse proxy?

Two proxies both “fixing” the protocol so the app sees the wrong scheme and generates http links. Decide who terminates TLS and tell the app once.

adjacent