Last verified:
Choose Caddy when you want the shortest configuration and automatic HTTPS with few moving parts. Choose Nginx Proxy Manager when a browser interface matters more than keeping every route in text files. Choose Traefik when Docker services should publish and remove routes through labels as containers change.
The proxy is only the public entry point. Size the VPS for the applications, databases and background jobs behind it, then verify the proxy under your expected traffic. A fixed proxy-only RAM or CPU number does not describe the complete server.
Caddy vs Nginx Proxy Manager vs Traefik
| Decision | Caddy | Nginx Proxy Manager | Traefik |
|---|---|---|---|
| Main configuration surface | Caddyfile or JSON API | Browser interface backed by persistent application data | Install configuration plus labels or routing files |
| Docker service discovery | Manual unless you add external automation | Manual proxy-host entries | Native Docker provider can watch labels |
| HTTPS model | Automatic HTTPS for qualifying hostnames | Letโs Encrypt or custom certificates through the interface | ACME certificate resolver referenced by a router or entry point |
| Administrative surface | API binds to localhost:2019 by default | Web interface uses port 81 in the official setup | API and dashboard are optional and must be secured if enabled |
| Best fit | Small, stable stacks and readable config | Operators who want a UI for stable services | Dynamic Docker stacks and config kept with services |
| Main risk to control | Do not expose the admin API | Do not expose port 81 to everyone | Treat Docker socket access and the dashboard as privileged |
This table compares operating models, not throughput. We have not run a controlled load test that would justify calling one proxy faster on a specific VPS.
Pick Caddy for the smallest manual configuration
Caddy can express a basic route with a site address and one reverse_proxy directive. Its automatic HTTPS documentation says qualifying hostnames receive managed certificates and HTTP-to-HTTPS redirects. The reverse proxy reference covers upstreams, health checks, load balancing and transport settings.
Caddy is the clearest fit when you have a few stable services and want the routing rules in a short file. Its administration API listens on localhost by default, according to the official API reference. Keep that boundary in place unless you have a specific authenticated management design.
Do not choose Caddy merely because the first configuration is short. If another system needs to create and remove routes from Docker events, you must provide that automation separately or choose a proxy with native service discovery.
Pick Nginx Proxy Manager when the UI is the workflow
Nginx Proxy Manager is built for operators who prefer adding hosts, redirects, access lists and certificates in a browser. Its official guide documents Letโs Encrypt support, custom certificates, access lists and user permissions. The minimum Compose example publishes ports 80, 81 and 443 and persists /data plus /etc/letsencrypt.
That simplicity creates a clear security task: port 81 is an administration interface, not a public application. Restrict it with a firewall, private network or VPN rather than exposing it to the internet without an access boundary. Back up both persistent directories because the UI state and certificate material are part of the recovery path.
Nginx Proxy Manager fits a stable homelab or small server where routes are changed deliberately. It is a weaker fit when every deployment should update routing from version-controlled container definitions without a separate click.
Pick Traefik when routes should follow Docker services
Traefikโs Docker provider reads routing data from container labels and updates routes when provider data changes. The official Docker setup shows explicit service labels and recommends exposedByDefault=false so only opted-in containers become routable. Its provider overview explains the split between label-based discovery and file-based routing.
Automatic certificate management is not implicit. Define an ACME certificate resolver, store its state persistently, and reference the resolver from the routers or entry points that need it.
Traefik commonly reads the Docker socket to discover services. Dockerโs engine security documentation explains that control of the daemon can give root-level control of the host. Mounting the socket read-only limits file writes through that mount, but it does not make the Docker API harmless. Limit which containers Traefik exposes and keep untrusted workloads away from that control path.
If you enable the Traefik API or dashboard, follow the official dashboard security guidance. Do not use the insecure dashboard mode on a public entry point.
A secure deployment checklist
- Point DNS first. Create the required A and AAAA records and confirm that they resolve to the intended server before requesting certificates.
- Publish only the proxy. Expose ports
80and443for the proxy. Keep backend application ports on a private Docker network unless a service has a separate reason to be public. - Protect the control surface. Restrict Nginx Proxy Manager port
81, keep the Caddy API local, and secure any Traefik dashboard route with authentication or an allowlist. - Use explicit discovery. With Traefik, disable exposure by default and opt in only the services that need public routes.
- Persist state. Back up route configuration, certificate state and any database or data directory used by the proxy. Record how to restore them on a new server.
- Test the failure path. Stop one backend and confirm what users see. Check logs, certificate renewal state and health checks before relying on the setup.
- Harden the host separately. A reverse proxy does not replace operating-system updates, SSH controls, firewall rules, application authentication or backups. Continue with the VPS security hardening guide.
How to size the VPS
Do not buy a VPS from a proxy-only minimum. Add the requirements of the applications, database, cache, workers and expected concurrency. Then reserve space for the operating system, container images, logs, certificate state and recovery files.
For an existing server, measure peak memory, CPU saturation, disk growth and outbound traffic after the real applications are running. For a new server, choose a plan that fits the heaviest backend and can be resized without rebuilding the entire stack. The proxy choice rarely fixes an undersized database or a transcoding workload.
If you need a new server, compare current plans and terms rather than relying on a frozen price in this guide.
Affiliate disclosure: the two provider links below are affiliate links. SelfHostVPS may receive compensation if you order through them, at no added cost to you. They are neutral plan links, not a measured ranking.
For a broader provider comparison, use the budget VPS guide. After choosing a proxy, continue with the focused Nginx Proxy Manager VPS guide, Traefik VPS guide, or Caddy setup guide.