NGINX vs Caddy: which reverse proxy to choose for your company server

NGINX or Caddy in front of the applications on your company server: HTTPS certificates, HTTP/3, configuration, maintenance and a simple rule for choosing.

A padlock inside a hexagon, with an expired certificate marked in red and an automatic renewal checked in green, the label REVERSE PROXY and the title NGINX or Caddy, what goes in front

In short

For a small company with two or three web applications on a Linux server and no dedicated administrator, Caddy is the default choice: it obtains and renews HTTPS certificates on its own, enables HTTP/3 with no configuration, and its configuration fits in a few lines. NGINX remains the choice when the team already knows it, when you need specific modules or integrations, or when the server runs Windows.

You have an application on your company server: a CRM, a document platform, a client portal. The browser doesn't talk to it directly. Between the browser and the application sits a program that receives the requests, passes them on and takes care of HTTPS. That program is the reverse proxy, and in practice the choice comes down to two names: NGINX and Caddy.

The question usually comes up at the first installation or at the first expired certificate. Someone configured NGINX two years ago, the certificate didn't renew, and the application shows a red security warning exactly when a client wants to log in. Or the other way around: you've read that Caddy "does everything on its own" and you want to know what you lose if you don't pick the standard.

For a small company with two or three applications on a Linux server and no administrator looking after it daily, Caddy is the default choice. NGINX remains the right choice when the team already knows it, when you need modules or integrations that Caddy doesn't have, or when the server runs Windows. The rest of the article explains why and how to check which situation you are in.

What the reverse proxy does and why the choice matters

The reverse proxy has four roles in front of a business application:

  • It terminates HTTPS. It holds the TLS certificate, encrypts the traffic with the browser and talks unencrypted, on the internal network, to the application.
  • It routes. crm.your-company.com goes to one container, documents.your-company.com to another, on the same server and the same IP address.
  • It protects. It adds security headers, limits the number of requests per minute, rejects what has no business being there.
  • It logs. You see who accessed what, independently of the application.

Modern applications shipped as Docker containers, including the ones we install for our clients, assume such a layer exists in front of them. NGINX and Caddy don't differ in what they do, but in how much effort each takes to do things correctly and to stay correct a year from now.

NGINX: the standard everyone knows

NGINX is written in C, released under the 2-clause BSD license and developed today by F5, which also sells the commercial version, NGINX Plus. According to W3Techs, as of October 9, 2026 it runs on about 30% of websites with an identifiable server. It is the server you find in every tutorial, in every Docker image of a web application and on the résumé of every Linux administrator.

Its strength comes from maturity and from its ecosystem. Modules cover everything: caching, compression, geolocation, authentication, streaming. The configuration is a text file with server and location blocks, and reloading it with nginx -s reload doesn't drop existing connections: the master process checks the syntax, starts new worker processes and shuts down the old ones once they finish the requests in progress.

Its weakness, for a small company, is everything around it. NGINX doesn't obtain HTTPS certificates on its own. You need a separate program, usually certbot, a cron job to run it and someone to notice when the cron job stops working. HTTP/3, the protocol modern browsers use on mobile connections, is marked as experimental and isn't included in the standard build. And a configuration file for three applications with HTTPS, redirects and security headers easily grows to a hundred lines that, a year later, nobody remembers why they look the way they do.

Caddy: HTTPS from the first moment, with no extra steps

Caddy is written in Go, released under the Apache 2.0 license and shipped as a single executable with no dependencies. The current version, 2.11.7, came out on October 3, 2026. Its market share, measured by the same W3Techs, is about 1%, so you will rarely find it in tutorials or in other people's Docker images.

One thing makes it interesting, taken all the way: automatic HTTPS. When you write a public domain name in the configuration, Caddy obtains the certificate from Let's Encrypt or ZeroSSL, renews it in the background before it expires and redirects HTTP to HTTPS on its own. There is no certbot, no cron job, no certificate that expired because someone forgot. For localhost and IP addresses it issues self-signed certificates, useful for testing.

On top of that, HTTP/1.1, HTTP/2 and HTTP/3 are enabled by default, the configuration is written in a format called the Caddyfile, where a whole application fits in three lines, and caddy reload applies changes without downtime. The caddy validate command actually loads the configuration instead of only checking its syntax, so it catches errors a plain syntax test would let through.

The structural limit: additional modules, for example for DNS validation with a particular provider, are compiled into the executable with the xcaddy tool. They aren't loaded at runtime, as with NGINX on Linux distributions. Most installations don't need any additional module, but when you do, the build step has to be repeated at every update.

The comparison, on the criteria that matter for a small company

Criterion NGINX Caddy
Language and license C, 2-clause BSD Go, Apache 2.0
HTTPS certificates Separate program (certbot) plus cron Automatic, including renewal and the HTTP → HTTPS redirect
HTTP/3 Experimental module, not built by default Enabled by default
Configuration for one application A server block of 15-30 lines plus the certificate 3 lines in the Caddyfile
Reload without downtime Yes, with a syntax check Yes, with full validation of the configuration
Additional modules Installable packages on Linux Rebuild with xcaddy
Windows Beta version, a single active worker, no HTTP/3 Native executable, the same features as on Linux
Market share (W3Techs, Oct. 2026) ~30% ~1%
Commercial support NGINX Plus, from F5 Sponsorships; no commercial offering from the maker
Documentation and examples online Enormous Good, but far fewer

The "Windows" row deserves an explanation. If your company server runs Windows and you don't want a Linux or Docker layer, NGINX for Windows is considered beta by its maker, with a single process doing the actual work and no QUIC support. Caddy runs on Windows as it does on Linux, including as a service.

The same application, in both configurations

Say a CRM listens internally on port 8080 and has to be published at crm.your-company.com. In Caddy, the complete file is:

crm.your-company.com {
    reverse_proxy localhost:8080
}

The certificate, its renewal, the redirect from HTTP and HTTP/3 are included. In NGINX, after you have obtained the certificate separately with certbot, the minimal block looks like this:

server {
    listen 80;
    server_name crm.your-company.com;
    return 301 https://$host$request_uri;
}
server {
    listen 443 ssl;
    http2 on;
    server_name crm.your-company.com;
    ssl_certificate     /etc/letsencrypt/live/crm.your-company.com/fullchain.pem;
    ssl_certificate_key /etc/letsencrypt/live/crm.your-company.com/privkey.pem;
    location / {
        proxy_pass http://localhost:8080;
        proxy_set_header Host $host;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header X-Forwarded-Proto $scheme;
    }
}

It isn't hard. But it's twenty lines instead of three, plus certbot, plus the renewal cron job, plus the X-Forwarded-* headers that Caddy sets on its own. Every extra line is a place where you can make a mistake and one more thing to explain to whoever takes over the server.

How to choose

  1. Count the applications and the people. Two or three applications, one server, nobody paid to administer it daily: Caddy. Dozens of sites, heavy traffic, a team that does this for a living: NGINX, because the ecosystem and the team's experience are worth more than the convenience.
  2. Check what the team already knows. If your administrator, in-house or outsourced, has worked with NGINX for years, keep it. A familiar, well-maintained tool beats a new, neglected one.
  3. Check the application's requirements. Some applications come with a ready-made NGINX configuration or require modules Caddy doesn't have. Read the installation documentation before you choose.
  4. Check the operating system. Windows server without Docker: Caddy. Linux: either.
  5. Ask how the server is exposed to the internet. If the application sits behind a Cloudflare tunnel, the public certificate is managed by Cloudflare, and Caddy's main advantage matters less. The reverse proxy is still needed for routing and headers, but the choice becomes a matter of preference.

Where it doesn't fit

Caddy isn't the universal answer, and its limits should be known in advance:

  • A small community. For an unusual problem, you will find ten times fewer answers than for NGINX. The official forum is active, but it doesn't have the volume of answers that NGINX has on Stack Overflow.
  • Compiled modules. Any extension beyond the standard ones means xcaddy build and an update procedure of your own, which cancels out part of the simplicity.
  • Let's Encrypt limits. The automation needs a public domain with correct DNS and ports 80 and 443 reachable. Let's Encrypt allows at most 50 certificates per registered domain every 7 days and 5 for the same set of names; anyone who tests endlessly on the same domain gets blocked.
  • No commercial support. NGINX Plus exists for companies that need a support contract with the maker. For Caddy, support comes from the community or from your IT partner.

NGINX also has situations where it isn't the right choice: on Windows, as shown above, and at a company where nobody looks at the server between two incidents. An NGINX configured correctly two years ago and untouched since is exactly the server whose certificate expires on a Saturday.

Neither of them replaces basic hygiene: updates, good passwords, backups, a firewall. The reverse proxy is the front layer, not the whole defense.

How we do it

When we install our products on a client's server, for example Brio CRM with Docker Compose, the application is never exposed directly: in front of it sits a reverse proxy that terminates HTTPS and routes to the containers. Which one follows the rule above. At companies without an administrator of their own we propose Caddy, because it cuts the list of things that expire down to zero. At companies that already have NGINX and a team that knows it well, we keep it and document the configuration, instead of replacing a tool that works.

For clients with outsourced IT management, the reverse proxy is monitored like any other component: version, certificate, error log.

If you have a server with applications behind NGINX or Caddy and you don't know when the certificate expires or who renews it, send us the configuration. We'll tell you in a few minutes what is missing and whether anything is worth changing.

Frequently asked questions

Is Caddy free?

Yes. Caddy is open source under the Apache 2.0 license, and the certificates it obtains from Let's Encrypt and ZeroSSL are free as well. There is no commercial version from the maker. NGINX is also free, under the BSD license; the paid version, NGINX Plus, from F5, adds advanced monitoring, active health checks and support.

Can I move from NGINX to Caddy without stopping the applications?

Yes, with a short interruption. You install Caddy on another port, check the configuration with caddy validate, then stop NGINX and start Caddy on 80 and 443. The first certificate is obtained in a few seconds if DNS is correct. To be safe, keep the NGINX configuration until you are sure all applications respond.

Does Caddy work in Docker?

Yes, there is an official caddy image on Docker Hub, and the Caddyfile is mounted into the container as a file. Certificates are kept in a volume so they aren't requested again at every restart. For additional modules you build your own image with xcaddy, following the official documentation.

Does Caddy run on Windows Server?

Yes. Caddy ships as a single executable for Windows and is registered as a service with sc.exe, with the same features as on Linux, including automatic HTTPS and HTTP/3. NGINX for Windows is considered beta by its maker, uses a single worker process and has no QUIC support, and therefore no HTTP/3.

What happens if Let's Encrypt doesn't respond?

Caddy retries in the background, with increasingly long pauses of up to a day, for up to 30 days, and automatically switches to ZeroSSL, the second provider configured by default. The existing certificate stays valid until its expiry date, and renewal is attempted well in advance, so a provider outage of a few hours doesn't affect the site.

Document anonymization solutions: what exists and how to choose

Manual redaction, open-source library, cloud API or on-premise app with local AI: what each document anonymization solution does and how to choose.

Read the article

Which local AI model writes code that works: 132 PowerShell scripts

Ten local AI model variants, 12 logic problems and 132 PowerShell scripts actually run: which ones write code that works and how the others fail.

Read the article

OMSA is gone: what replaces it on Dell servers and what OME is for

Dell has retired OMSA. What replaces it on a single server, what OpenManage Enterprise does, what it costs and how to reach servers at other sites with it.

Read the article

Want to talk about your company’s IT?

Tell us what you are dealing with and we will reply with a concrete recommendation, with no obligation.