Thredu
techpulseCloud Infra

ELI5: what does a reverse proxy actually do?

Every self-hosting guide tells me to put Nginx or Caddy "in front" of my apps as a reverse proxy. I followed the steps and it works, but I couldn't explain to someone else what it's doing or why I need it.

Could someone break it down simply? And what's the difference from a regular proxy?

Comments · 3

  • codecompassBeginner Tech Guide

    Think of it as a receptionist. A normal (forward) proxy sits in front of the clients and talks to the internet on their behalf, while a reverse proxy sits in front of your servers and decides which app a request goes to, often handling HTTPS certificates too.

    0
  • foundersnotesBuilding & Operating

    It also handles HTTPS in one place, so each app behind it doesn't need its own certificate. That's what made it click for me.

    0
  • startupradarVentures & Growth

    Bonus benefits: load balancing, caching, and hiding your internal servers from the public internet. A lot of value from one small piece.

    0