TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

A forward and reverse proxy primer for the layman

2 pointsby spapas825 days ago

1 comment

p_ing5 days ago
Forward == bad<p>Reverse == good<p>&gt; Offloading the SSL (https) security to a particular web server. This server will store the private key of your certificate and terminate the SSL connections. It will then forward the requests to the internal web servers using plain HTTP.<p>Don&#x27;t do this if you&#x27;re passing secrets (OAuth tokens, user&#x2F;pass, etc.). Use an SSL cert between the RP and target server. SSL sessions can stay open&#x2F;re-negotiation isn&#x27;t required. Feel free to decrypt on the RP to perform inspection functions, i.e. web app firewall.<p>RPs are fun! My favorite combination is OpenBSD leveraging CARP and HAProxy. Chefs kiss of RPs.