Illustrated title card for the guide: Homelab: Traefik vs Caddy vs Nginx Proxy Manager vs Pangolin
reverse-proxy

Homelab: Traefik vs Caddy vs Nginx Proxy Manager vs Pangolin

Compare Traefik, Caddy, Nginx Proxy Manager, and Pangolin for your homelab. See how each handles app routing, HTTPS, and remote access.

Choose Traefik if you want routes defined alongside your Docker services. Choose Caddy if you want a Caddyfile with automatic HTTPS. Choose Nginx Proxy Manager if you want to add and edit hosts in a browser. Choose Pangolin if remote users need to reach apps through an outbound tunnel from your homelab.

Where traffic enters your homelab

Your setupPickWhat you configure
Your Docker services change oftenTraefikHostname, backend port and TLS resolver in Docker labels
You want a small text configCaddySite address and reverse_proxy destination in a Caddyfile
You prefer a web interfaceNginx Proxy ManagerIncoming hostname, upstream address and certificate in the admin UI
You need remote access without forwarding ports at homePangolinSite connector, resource hostname, backend target and user access

For a direct public setup, point the app hostname at the public address that leads to your proxy. If the proxy sits behind your home router, the Nginx Proxy Manager guide forwards TCP 80 and 443 to the proxy host. Nginx Proxy Manager guide

With self-hosted Pangolin, point DNS at the public server, such as a VPS. The site connector at home establishes the tunnel outbound. For the documented setup, allow TCP 80 and 443 and UDP 51820 on the VPS. UDP 21820 is the default relay port for Pangolin clients. Pangolin Community Edition quick install, Pangolin DNS and networking, Pangolin public HTTP and HTTPS resources

A self-hosted Pangolin deployment includes Traefik. With Pangolin, you define the tunnel and app access in terms of sites and resources. With the standalone Traefik example below, you define the app route with Docker labels. Pangolin self-hosted comparison, Pangolin resource types, Traefik Docker routing labels

Add one web app

Each example uses app.example.com for the browser-facing hostname and 8080 for the app’s HTTP port. Replace them with your hostname and app port. The examples start with the chosen proxy installed and the app already running.

Traefik with Docker labels

Enable Traefik’s Docker provider and put the app and Traefik on the same Docker network. Set providers.docker.exposedByDefault to false so containers need an explicit opt-in. Restrict access to the Docker API because unrestricted access can put the host at risk. Traefik basic Docker guide, Traefik Docker provider

Add these labels under the app’s service in your Compose file. They assume a TLS entry point called websecure and a configured Let’s Encrypt resolver called le. For the guide’s HTTP-01 setup, point public DNS at Traefik and make its HTTP entry point reachable on port 80. Traefik Docker routing labels, Traefik advanced Docker guide

labels:
  - "traefik.enable=true"
  - "traefik.http.routers.app.rule=Host(`app.example.com`)"
  - "traefik.http.routers.app.entrypoints=websecure"
  - "traefik.http.routers.app.tls.certresolver=le"
  - "traefik.http.services.app.loadbalancer.server.port=8080"

Apply the Compose change with docker compose up -d. Traefik advanced Docker guide

Caddy with a Caddyfile

If Caddy and the app run on the same host and Caddy can reach the app over loopback, save this as Caddyfile. Run caddy run from that directory. For the public HTTPS quick start, point DNS at Caddy and make ports 80 and 443 reachable from outside. Caddy reverse_proxy directive, Caddy HTTPS quick start

app.example.com {
    reverse_proxy 127.0.0.1:8080
}

Caddy’s automatic HTTPS obtains and renews certificates for qualifying names and redirects HTTP to HTTPS. For local HTTPS using Caddy’s internal CA, each client must trust that CA’s root certificate. Caddy automatic HTTPS

Nginx Proxy Manager with a Proxy Host

Open the admin UI on port 81 from your local network. For the direct public setup, forward only ports 80 and 443 at the router. In Proxy Hosts, create a host for an app reachable at the example LAN address below. Nginx Proxy Manager guide, Nginx Proxy Manager interface labels

FieldExample
Domain Namesapp.example.com
Schemehttp
Forward Hostname / IP192.168.1.50
Forward Port8080

For browser-facing HTTPS, select a certificate for the Proxy Host and save the host. Nginx Proxy Manager supports Let’s Encrypt and uploaded custom certificates. Nginx Proxy Manager guide, Nginx Proxy Manager interface labels

Pangolin with a site and resource

Create a Pangolin Site for your home network. Run its connector on a machine that can reach the app. The current install guide recommends the Pangolin CLI for new sites and supports existing Newt deployments. Pangolin site installation

Create a public HTTP/HTTPS resource with app.example.com on a domain managed in Pangolin. Add one target using the home site, HTTP, 192.168.1.50 and port 8080. Keep Pangolin authentication enabled and grant access to the intended users or roles. Pangolin public HTTP and HTTPS resources, Pangolin target settings, Pangolin public resource authentication

For this public resource, users only need a browser. Pangolin issues and renews the TLS certificate and sends authorized traffic through the connector to the app. If the app itself should stay off the public internet, use a private HTTP/HTTPS resource on the Pangolin Site. Authorized users connect with the Pangolin client before opening it. Pangolin public HTTP and HTTPS resources, Pangolin resource types

Evidence and limits. The Traefik 3.8 Docker guide, Caddy 2 docs, Nginx Proxy Manager 2.17.1 interface labels, and Pangolin’s rolling Community Edition documentation were checked on November 26, 2026. The examples were adapted from the documentation and were not run.

Sources

  1. Traefik: Basic Docker routing
  2. Traefik: Docker provider
  3. Traefik: Docker routing labels
  4. Traefik: Advanced Docker routing
  5. Caddy: HTTPS quick start
  6. Caddy: reverse_proxy
  7. Caddy: Automatic HTTPS
  8. Nginx Proxy Manager: Guide
  9. Nginx Proxy Manager: v2.17.1 interface labels
  10. Pangolin: Community Edition quick install
  11. Pangolin: Cloud vs. Self-Hosted
  12. Pangolin: DNS and networking
  13. Pangolin: Install Sites
  14. Pangolin: Public HTTP and HTTPS resources
  15. Pangolin: Public resource authentication
  16. Pangolin: Understanding Resources
  17. Pangolin: Common API Routes

Related