team@tinypod.app
Understanding Reverse Proxies for Self-Hosting
Reverse proxies route traffic to your self-hosted services. How they work, why you need one, and which to choose.
reverse-proxynetworkingcaddynginx
What Is a Reverse Proxy?
A reverse proxy sits between the internet and your services. It receives incoming requests and routes them to the correct backend service.
Why You Need One
Multiple Services, One Server
Your server has one IP address. A reverse proxy routes requests based on the domain name:
HTTPS
The reverse proxy handles SSL certificates and HTTPS termination. Your backend services run plain HTTP.
Security
How It Works
1. Client requests git.example.com
2. DNS resolves to your server IP
3. Reverse proxy receives the request on port 443
4. Proxy checks the Host header
5. Request is forwarded to Gitea on port 3000
6. Response flows back through the proxy
Popular Options
Caddy
Nginx
Traefik
Nginx Proxy Manager
Which to Choose
TinyPod uses Caddy by default.