raincom 22 minutes ago

What's the difference between Reverse proxy and forward proxy? Is there something like "intermediate proxy"? Is this concept of L7 proxy, similar to DNAT/SNAT or Port forwarding in L3/L4?

MortyWaves 11 hours ago

Caddy, Nginx, Traefik seem to be the most popular reverse proxies in the self hosting/homelab communities.

I definitely prefer Caddy in my experience, so far.

  • ethan_smith 4 hours ago

    HAProxy deserves a mention alongside those - it's particularly strong for high-traffic production environments where its advanced load balancing algorithms and detailed metrics shine.

tdiff 2 hours ago

Really looks like an ai-generated overview.

vojtechrichter 5 hours ago

Amazing read, I personally find it fascinating to make my own load balancer.

jeffbee 4 hours ago

I would say the bullet points at the top are not strictly correct. The response does not necessarily transit the proxy. Responses can be returned directly to the client (DSR).

  • nyrikki an hour ago

    > Note: For simplicity, we’ll focus on Layer 7 (HTTP) reverse proxy.

    Layer 4 proxies are a very specific sometimes food that most people should actively avoid until they need it because of the tradeoffs.

    DSR is layer 4, and not in scope of this post.

shelajev 4 days ago

It took me an embarrassingly long time to internalize what the reverse proxy is. My brain got stuck on the fact that it is just proxying requests. What's so reverse about this? Silly.

  • happytoexplain 13 hours ago

    It's one of the classic cases of a thing being named relative to what came before it, rather than being named on its own merit. This makes sense to people working at the time the new thing is introduced, but is confusing to every other learner in the future.

    • raincom 13 minutes ago

      What came before "reverse proxies"? Just curious to understand the history.

    • nosianu 9 hours ago

      Could be worse. All the many things named after people prevalent in some fields more than in others, biology/medicine for example. When you read, for example, "loop of Henle" or "circle of Willis" you don't even know where to begin. You either know the term or not.

      • happytoexplain 2 hours ago

        True, though I think it's often a larger challenge to capture the intrinsic quality of a medicinal compound or physiological feature than a man-made tool.

  • rini17 4 days ago

    Since web proxy was originally used near clients, caching stuff to save precious bandwidth of their kbps-tier connection.

  • azaras 11 hours ago

    Nowadays, "reverse" is suppressed in most ways. I have heard that Nginx is a proxy more often than a reverse proxy.

    • Valodim 9 hours ago

      Except in the configuration where you use the reversep_proxy directive, of course

    • daveguy 4 hours ago

      How about service proxy vs web proxy rather than reverse proxy and proxy? Makes more clear that one is a proxy on the service side and the other is a proxy on the client side. Service proxy and Client proxy might be even better.

leptons 7 hours ago

How does this relate to "AI"? /s