Ferron 3: testing the Rust web server's release candidate
Ferron 3.0.0-rc.11 tested in a container: the new config format, migrating from 2.x, security, benchmarks and whether the release candidate is ready yet.
by Jean Pierre Kolb ·
Caddy has been running for me for some years now as a proxy and as a server for static sites, as I described in the article on FrankenPHP and Caddy. Ferron is something I'm watching and testing as an alternative to it. It's a web server written in Rust that, like Caddy, obtains its certificates by itself and gets by with a few lines of configuration. The public repository of JPKCom Desktop ships ready-made configurations for Ferron 2 and for Ferron 3, alongside those for Apache, nginx and Caddy. If you put the two Ferron files side by side, you see right away how much changes with version 3.
Why now? On 8 November 2026, 3.0.0-rc.11 came out, the eleventh release candidate, meaning a pre-release shortly before the stable release. In the blog post on it (opens in a new tab), the maintainer writes that the stable version is "imminent". I find the project exciting, and that's exactly why a close look before the release is worth it. Don't expect a sales pitch, though: the benchmarks appear with their conditions, the security vulnerabilities of the pre-releases are discussed openly, and wherever the docs and the behaviour diverge, the text says so explicitly. If you don't know Ferron yet: every section starts simple and then goes deeper.
The short version
| Question | Answer |
|---|---|
| What is Ferron? | A web server in Rust for static sites, as a reverse proxy and with automatic HTTPS. MIT license, developed essentially by one person |
| What does Ferron 3 change? | Its own runtime and its own HTTP stack, the new ferron.conf format instead of KDL, HTTP/3 on by default, plus an admin API, Prometheus, StatsD and ferron doctor |
| Is rc.11 production-ready? | No. The project itself calls it "Intended for testing" and recommends 2.8.1. There were breaking changes up to rc.10, and a hang in the reverse proxy is still open |
| What worked in the test? | Static sites, headers, redirects, reverse proxy, load balancing, PHP via PHP-FPM, basic auth, rate limiting, TLS and reload. Plus several places where the docs and the behaviour don't match |
| What about security? | Seven advisories (security notices), all for pre-releases of 3.0, all fixed, one of them critical. None was a memory bug |
| How fast is Ferron? | There are only measurements by the project itself, against development snapshots and with gaps in the conditions. No independent benchmarks could be found |
| The biggest trap? | ferronserver/ferron:latest and apt install ferron give you Ferron 2. The Docker tag :3 and the installer get.ferron.sh/v3 give you a release candidate |
All of this refers to Ferron 3.0.0-rc.11 (8 November 2026), as of 24 November 2026. The wording keeps four things apart. "According to the docs", "according to the source" and "according to the changelog" mean read there, at the Git tag 3.0.0-rc.11 unless stated otherwise. "Checked" means the example was reproduced in a throwaway container against the official image ferronserver/ferron:3.0.0-rc.11, purely as a functional check with no load. All performance figures come from the Ferron project itself and appear with their conditions. And wherever I assess or recommend something, it's phrased as my assessment.
What Ferron is
A web server accepts requests from the network and answers with files or with whatever a program behind it delivers. Ferron serves static files, works as a reverse proxy, meaning it passes requests on to services such as a Node.js or Python app, and sets up HTTPS automatically. To do that, Ferron speaks ACME, the protocol through which certificate authorities such as Let's Encrypt issue certificates automatically. According to the docs (opens in a new tab), a host block with a domain name and no port starts two listeners (the places where the server waits for connections): port 80, and port 443 with automatic TLS. A complete site then looks like this. This one is from the docs only, because ACME wasn't part of the test:
example.com {
root /var/www/example.com
}In the README (opens in a new tab) of rc.11, the project describes itself as "a fast, modern web server built for production debugging" and names two principles: "ease of setup" and "ease of debugging". The focus has shifted over the versions. The maintainer sums up the lines himself in the blog post on the end of 1.x (opens in a new tab): 1.x stood for "learning Rust", 2.x for "features", 3.x for "observability", meaning the ability to see into the running server through logs, metrics and traces.
Where Ferron comes from
Behind Ferron is Dorian Niemiec, from Poland according to his GitHub profile. Before that, he had built a web server in Node.js, SVR.JS. In the same blog post he writes: "The Ferron project (originally code-named "Project Karpacz") started because I wanted better performance." The timeline in brief:
| Date | Event |
|---|---|
| February 2025 | First versions 0.1.0 to 0.7.0 under the name "Project Karpacz" |
| 1 March 2025 | Renamed to Ferron |
| 12 April 2025 | Ferron 1.0.0 |
| 4 November 2025 | Ferron 2.0.0: KDL, a configuration language made of nested nodes, replaces YAML, automatic TLS becomes the default |
| 26 March 2026 | Ferron 2 LTS, a long-term support line, now at 2.6.4 |
| 10 April 2026 | First alpha of Ferron 3 |
| 17 June 2026 | Ferron 2.8.1, the latest stable release to this day |
| 1 July 2026 | Ferron 1.x reaches end of life |
| 4 September 2026 | 3.0.0-rc.1, with rc.2 as an emergency release on the same day |
| 8 November 2026 | 3.0.0-rc.11 |
Eleven release candidates in 65 days is a high cadence. For 3.0.0 final there's no date and no milestone on GitHub. Ferron has been licensed under MIT throughout, and the project site ferron.sh runs on Ferron itself.
Under the hood
Ferron 3 is a single process. There are no master and worker processes as in nginx. Instead, Ferron works on the thread-per-core principle: for each CPU core there's a separate strand of execution (a thread), pinned to that core, and each one handles its connections on its own. For background work such as metrics and certificate renewal, according to the architecture docs (opens in a new tab) and the source (opens in a new tab), there's also a pool from Tokio, the widely used runtime for asynchronous Rust code, with half as many threads as cores.
The main runtime is called zincio and comes from the Ferron project itself. The zincio README (opens in a new tab) advertises io_uring on Linux, the kernel interface for asynchronous input and output in which the program puts jobs into a queue instead of waiting for each operation. In Ferron 3, however, io_uring is off by default; more on that under performance. On top of it sits zincio-http, also in-house, for HTTP/1.1, HTTP/2 and HTTP/3. For TLS, Ferron uses rustls with the crypto backend aws-lc-rs; OpenSSL doesn't appear in the dependency list Cargo.lock. The hyper library from the Rust ecosystem remains only as a client, for example in the reverse proxy.
What Ferron 3 changes
Ferron 3 isn't an update of Ferron 2 but a rebuild. The most important point first: your ferron.kdl no longer runs under Ferron 3. According to the source (opens in a new tab), Ferron 3 loads only two configuration formats, the new ferron.conf and JSON. KDL is read only by the ferron-kdl2ferron tool, which converts once.
| Feature | Ferron 2.8.1 | Ferron 3.0.0-rc.11 |
|---|---|---|
| Configuration | KDL, ferron.kdl |
ferron.conf (or .ferron), plus JSON |
| Runtime | monoio (own fork) plus Tokio | zincio, its own runtime, plus Tokio |
| HTTP server | hyper, h2, h3 | zincio-http, its own implementation |
| HTTP/3 | opt-in, marked "experimental" | on by default |
| ACME challenge (default) | TLS-ALPN-01 | HTTP-01 |
| Symlinks in the webroot | are followed | are rejected with 403 |
| Admin API, Prometheus, StatsD | no | yes |
| WSGI/ASGI for Python | as an external module | no |
The table is backed by the migration docs (opens in a new tab), the changelog (opens in a new tab) and the source of both tags. Three rows deserve an explanation.
HTTP-01 instead of TLS-ALPN-01. In an ACME challenge, the server proves that it controls the domain. With HTTP-01, the certificate authority fetches a file over port 80; with TLS-ALPN-01, the check runs over port 443. With Ferron 3, port 80 therefore has to be reachable. Wildcard certificates are only available via DNS-01, the check through a DNS record, for which Ferron, according to the docs (opens in a new tab), ships eleven DNS providers and a hook for your own scripts in the standard build.
HTTP/3 on by default. HTTP/3 runs over QUIC and therefore over UDP instead of TCP. According to the docs, Ferron starts an additional listener on the same port for it and announces it via the Alt-Svc header. In a container, you therefore also need 443:443/udp.
Admin API and observability. Ferron 3 adds a control interface and integrations with Prometheus and StatsD, two widely used systems for collecting metrics. OpenTelemetry (OTLP, an open standard for logs, metrics and traces) has been there since 2.2. Every request gets a trace ID that shows up in error pages, logs and at backends.
Besides KDL, what's gone is the direct integration of Python applications via WSGI or ASGI, and regular expressions with backtracking, where the search steps back after a failed attempt and tries other paths. Ferron 3 uses the Rust library regex, which according to the docs (opens in a new tab) works "in linear time". Lookahead and lookbehind, meaning conditions on what must come after or before a position, and backreferences such as \1, which require the text already matched by a group once more, no longer work with it.
Breaking changes in the RC phase
A release candidate is really only supposed to fix bugs. With Ferron 3, according to the changelog, rc.7, rc.8, rc.9 and rc.10 each contain a "Breaking changes" section. Breaking changes are changes after which a previously valid configuration stops working or behaves differently. Two examples: rc.7 shortened default values in the reverse proxy, such as connection_timeout from 5 to 2 seconds. rc.8 introduced "Host-isolated handler directives"; since then, named hosts no longer inherit directives such as root, proxy or basic_auth from the wildcard host *. rc.11 no longer has such a section. For you, that means: if you update between two RCs, read the changelog every time.
The new configuration format
The Ferron 3 configuration is a text file made of blocks in curly braces. A block without a name at the start contains global settings; every further block begins with a host pattern such as example.com or *:8080. Inside are directives, one per line, and comments start with #. According to the syntax docs (opens in a new tab), the format knows five kinds of top-level statements: the global block { … }, host blocks, match blocks, snippet blocks (named building blocks that a host pulls in with use) and include. The official example from the docs, verbatim and according to the docs:
# Uncomment to include additional configuration files
#include "/etc/ferron/conf.d/**/*.ferron"
{
runtime {
io_uring
}
tcp {
listen "::"
}
}
match api_request {
request.uri.path ~ "/api"
request.method in "GET,POST"
}
snippet common_http {
http {
protocols h1 h2
}
}
example.com {
use common_http
tls {
provider manual
cert "{{env.TLS_CERT}}"
key "{{env.TLS_KEY}}"
}
}A few rules you should know:
- Values can go unquoted as long as they contain no spaces, commas, semicolons,
#, quotes, curly braces or square brackets. Outside quotes, a comma separates values, which is why"GET,POST"is in quotes. IPv6 addresses such as"[::1]:8080"also belong in quotes. - Flags without a value mean
true:io_uringmeans the same asio_uring true. - Durations are written as
30s,5mor1h; a number without a unit counts as seconds. Under Ferron 2 it was still milliseconds. - Raw strings such as
r"^/blog"don't process escape sequences, ideal for regular expressions. An invalid escape sequence such as\zin normal quotes is an error, checked. - Variables stand in double curly braces, for example
{{env.TLS_CERT}}for an environment variable or{{remote.ip}}for the client address. According to the docs (opens in a new tab), an unknown variable stays in place as a placeholder instead of raising an error.
Conditions with match and if
For rules that only apply under certain conditions, you define a named match block and use it with if or if_not. All expressions in a match have to apply, so it's an AND combination; an OR combination isn't documented. The operators are ==, !=, ~ for a regular expression, !~ for its opposite and in for a list. The JPKCom Desktop configuration shows this nicely, an excerpt from docs/server/ferron.conf (opens in a new tab). According to its header, the file was validated with 3.0.0-rc.9. Also checked with rc.11: ferron validate and ferron doctor report "All good!", and desk_hidden answered /.git/config with a 404 while /.well-known/… stayed reachable. The excerpt:
# Dotfiles (.git, .env, …), except /.well-known/
match desk_hidden {
request.uri.path ~ r"/\."
request.uri.path !~ r"^/\.well-known/"
}
example.org {
# …
if desk_hidden {
status 404
}
}The same rule looks like this in the Ferron 2 version (opens in a new tab) from the same repository, validated with 2.8.1 according to the file header:
condition "DESK_HIDDEN" {
is_regex "{path}" "/\\."
is_not_regex "{path}" "^/\\.well-known/"
}
if "DESK_HIDDEN" {
status 404
}The difference is more than cosmetic. In KDL, backslashes had to be doubled, and the Ferron 2 file needs a snippet of its own because there, according to a comment, a block that sets a header replaces all inherited headers. Under Ferron 3, header rules add up across host and location, checked. I like the new syntax a lot better, precisely because regular expressions stay readable as raw strings.
location cuts off the prefix
With location /api { … }, a block applies to everything under /api. Ferron supports only prefixes here, no regular expressions, and the longest matching prefix wins. The most important quirk: Ferron removes the prefix from the URL before the next stage runs. So /api/users becomes /users. That's what the getting-started docs (opens in a new tab) and the migration docs say, and that's how Ferron behaved in the test.
This is exactly where the docs contradict themselves. The page on the reverse proxy use case (opens in a new tab) comments the same pattern with "/api/login" is proxied to "http://localhost:3000/api/login". That's wrong: the backend receives /login. If you need the prefix in the backend, according to the migration docs you write it into the proxy address, i.e. proxy http://localhost:3000/api. This variant hasn't been checked.
Incidentally, according to the docs a rewrite doesn't trigger a new location lookup; Ferron picks the block once, based on the original URL.
Inheritance, includes and strict_hosts
Ferron resolves the configuration per request in layers: global, host, location, then if and if_not. Usually the inner value wins, but according to the docs some directives such as rewrite and map accumulate, and in the test so did header. Since rc.9, a host block inherits every setting from the global http block that it doesn't set itself. Because of the host isolation since rc.8 (see above), though, give every host its own root.
With include you load further files, also via wildcards such as conf.d/**/*.conf, in alphabetical order according to the docs. If two files define the same host, Ferron merges the blocks. That's convenient and dangerous at the same time, because a forgotten block in a second file silently changes a host. Since rc.11 there's the global directive strict_hosts for this. Checked: with { strict_hosts }, startup aborted as soon as a host appeared in two files, and the message named both files with line numbers. I'd turn on strict_hosts for every configuration made up of several files.
Building blocks, checked in a container
The result up front: almost everything worked the way the docs describe it. Where things snagged, with the Server header, the query string in redirects and cache for local TLS, it was mostly the docs contradicting the code. The following configurations appear exactly as they ran in the test. The setup was simple: one Ferron container with conf.d, webroot and certificates mounted, all read-only, and a port of its own for each example, such as *:8001. For a real site, you replace the pattern with your domain name. Two nginx containers that echoed back the headers they received served as backends, and for PHP a container with php:8.4-fpm-alpine (PHP 8.4.27). HTTP/3 couldn't be checked because the curl used couldn't do HTTP/3.
Static site with a custom error page
*:8001 {
root /srv/www/site
error_page 404 /srv/www/errors/404.html
}Checked: / delivered the index.html with a weak ETag (an identifier the browser uses to tell whether the file has changed), and a matching If-None-Match produced 304 Not Modified. /sub without a trailing slash redirected to /sub/ with a 301. A missing page came back as a 404 with the custom file, whose path according to the docs is absolute or relative to the working directory, not to the webroot. Attempts to break out of the webroot with ../ or %2e%2e/ were answered by Ferron with a 400. Without error_page, Ferron shows a styled error page with a trace ID that you'll find again in the access log.
One small thing stood out: content-type: text/html came without a charset. That's why the JPKCom Desktop configuration sets mime_type .html "text/html; charset=utf-8" and the equivalent for CSS, JavaScript and JSON.
Security headers and the Server trap
Ferron doesn't set any security headers by itself, only the Server header, which according to the source (opens in a new tab) reads Ferron, without a version number. You set the rest yourself:
*:8002 {
root /srv/www/site
header X-Content-Type-Options "nosniff"
header X-Frame-Options "DENY"
header Referrer-Policy "strict-origin-when-cross-origin"
header Permissions-Policy "geolocation=(), microphone=(), camera=()"
header Content-Security-Policy "default-src 'self'; object-src 'none'; frame-ancestors 'none'"
header +X-Client-IP "{{remote.ip}}"
header Server "ferrontest"
}Checked: all headers arrived, including on the built-in 404 page. Only the last line had no effect; the response still carried server: Ferron. According to the docs on security headers (opens in a new tab), header Name "value" replaces an existing header, but for Server that isn't true. According to the source, only header -Server sets an internal flag; otherwise the HTTP server adds its own value afterwards. Checked: header -Server alone removes the header, and with header -Server plus header Server "ferrontest" the custom value arrived. Whether that's a bug in the RC or a gap in the docs can't be told from the outside. Either way, it isn't a user error.
For HTTPS hosts, according to the docs you also add header Strict-Transport-Security "max-age=31536000; includeSubDomains", i.e. HSTS, the header that pins browsers to HTTPS for good. In the test this host ran without TLS, which is why it's missing above.
Rewrite and redirect
A rewrite changes the URL internally, and the browser doesn't notice anything. A redirect sends the browser to a new address with a status code such as 301 or 308. Ferron handles both with rewrite and status:
*:8003 {
root /srv/www/site
rewrite r"^/old/(.*)" "/new-page.html" {
last
}
status 308 {
regex r"^/blog($|[/?#].*)"
location "/posts$1"
}
status 410 {
url /removed
}
}Checked: /old/foo transparently delivered the content of /new-page.html, /removed came back as 410 Gone, and /blog/my-post redirected to /posts/my-post with a 308. But: /blog/x?y=1 became /posts/x, and the query string, the part after the question mark, was lost. The source (opens in a new tab) applies the regex to the path only. The regex from the docs on redirects (opens in a new tab), with [/?#], suggests otherwise.
If you want to keep the query string, the {{request.uri}} variable helps:
*:8003 {
location /canon {
status 301 {
location "https://example.com{{request.uri}}"
}
}
}Checked: /canon/a?b=1 became https://example.com/canon/a?b=1. The variable contains the full original path with the query, even though the location otherwise cuts off the prefix.
Reverse proxy
*:8004 {
location /api {
proxy http://ferrontest-be1:80
}
location / {
proxy http://ferrontest-be2:80
}
}Checked: /api/users arrived at the first backend as /users, /api as /, and everything else went to the second backend. Ferron passed the original Host header on unchanged. Ferron set X-Forwarded-For, X-Forwarded-Proto, X-Real-IP and Forwarded itself; those are the headers through which a backend learns the real client address. A forged X-Forwarded-For: 6.6.6.6 from the client was overwritten by Ferron with the real address. That's the safe default, as long as you don't configure client_ip_from_header.
There are two observations you should know about. Ferron passed an X-Forwarded-Host sent by the client through unchanged. If your backend trusts this header, for example when building absolute links, a client can manipulate it. And Ferron sent along a traceparent header following W3C Trace Context even though no tracing was configured, so that backends can continue traces.
For load balancing across several backends:
*:8005 {
proxy {
upstream http://ferrontest-be1:80
upstream http://ferrontest-be2:80
algorithm round_robin
}
}Checked: eight requests went strictly alternately to the two backends. Without algorithm, according to the proxy docs (opens in a new tab), two_random applies. The docs describe further methods, active health checks (regular self-tests of the backends) and a circuit breaker that temporarily takes a failed backend out of rotation; these haven't been checked.
Compression
According to the docs (opens in a new tab), Ferron compresses static files of 256 bytes or more by itself, preferring Zstandard over Brotli over gzip. Checked: with Accept-Encoding: gzip, br, zstd you get zstd, but with gzip;q=1, br;q=0.5 you get gzip. So Ferron respects the client's weighting (q values), which the docs don't mention.
Responses from the proxy, from FastCGI or CGI, the interfaces to programs such as PHP, aren't compressed by default. That's what dynamic_compressed is for:
*:8006 {
dynamic_compressed
proxy http://ferrontest-be1:80
}Checked: with the directive the response came as gzip, without it uncompressed.
PHP via PHP-FPM
Ferron has no built-in PHP interpreter like FrankenPHP. It speaks FastCGI, the interface to PHP-FPM, the service that executes PHP scripts. The short form fcgi_php switches FastCGI on and registers the .php extension:
*:8010 {
root /srv/www/php
fcgi_php tcp://ferrontest-php:9000
}Checked: / automatically found the index.php, /index.php/extra/path?a=1&b=two arrived at PHP with correct PATH_INFO and QUERY_STRING, and Ferron answered a missing .php file with a 404 itself. Important when Ferron and PHP-FPM run in separate containers: Ferron checks the file in its own file system before handing over to PHP-FPM. Both containers therefore need the same files under the same path; in the test, the same directory was mounted in both under /srv/www/php. If the files are missing on Ferron's side, every request gets a 404, including /. If the directory is mounted but empty, / gets a 403.
For a front controller of the kind WordPress or Laravel need, the migration docs for .htaccess (opens in a new tab) give a rewrite rule with file false and directory false; Caddy includes this in php_fastcgi out of the box.
Basic auth with a hash and a per-IP lockout
Basic auth is the simple password protection the browser asks for with its own login dialog. Ferron accepts only hashed passwords for it, meaning irreversible check values instead of the password itself. The hash is generated by ferron-passwd, which comes in the image:
printf 'geheim123\n' | docker run --rm -i ferronserver/ferron:3.0.0-rc.11 /usr/local/bin/ferron-passwd --stdinChecked: this produced an Argon2id hash with the parameters m=19456,t=2,p=1. The --stdin option is new in Ferron 3 and handy for scripts. The hash goes in like this:
*:8007 {
root /srv/www/site
basic_auth {
realm "ferrontest"
users {
alice "$argon2id$v=19$m=19456,t=2,p=1$DzTRdR3lEdvzhaZWAhjXkw$XHjjWDlxbL0k71UOzQ66o1VhZsLTGuUc14ppuKMwSYw"
}
}
}Checked: without logging in you get a 401, with the right password a 200. ferron validate rejects a plain-text password as an error. After five failed attempts came a 429 with retry-after: 899, i.e. a lockout of around 15 minutes, without anything being configured for it. The lockout applies per client IP, not per user: afterwards, the correct password and a different user name were rejected too. The docs (opens in a new tab) say "per-IP" in the text, while the table on the same page misleadingly speaks of "lock the account".
That leads to a trap: behind an upstream proxy or a NAT, where many devices share one public address, all requests arrive with the same address. A few failed attempts then lock everyone out. So set client_ip_from_header there, with the proxy's address as trusted_proxy. According to the docs, basic_auth doesn't read Apache htpasswd files.
Access by IP and rate limiting
*:8008 {
root /srv/www/site
block "10.231.77.11"
location /sub {
allow "10.231.77.0/24"
root /srv/www/site/sub
}
}Checked: the blocked container got a 403 on / and /sub/, another one from the same network got a 200 both times. block takes precedence over allow, even across the location. With allow, every address not listed is rejected.
Rate limiting limits how many requests a client may make per unit of time. Ferron has it in the standard build; with Caddy you need a plugin for it:
*:8009 {
root /srv/www/site
rate_limit {
rate 5
burst 5
key remote_address
}
}Checked: of 30 simultaneous requests, exactly ten got through, i.e. rate plus burst, as the docs (opens in a new tab) describe. The rest got a 429 with retry-after: 1, and with requests one after another the refill at around five per second was visible. Since rc.4, according to the changelog, the counters can also be shared between several servers via Redis or Valkey.
TLS: your own certificate and a local CA
For your own certificate, the short form from the docs is enough:
*:8443 {
tls /etc/ferron/tls/cert.pem /etc/ferron/tls/key.pem
root /srv/www/site
}Checked with a self-signed certificate: HTTP/2 over TLS worked, TLS 1.3 was the default, and TLS 1.2 was accepted as well. Ferron additionally started HTTP/3 on the port and announced it via alt-svc: h3=":8443", with the port inside the container, not the published port on the host. If you publish ports under different numbers, this announcement points nowhere. Keep the same ports inside and outside, i.e. 443:443 and 443:443/udp.
For development on your own machine, Ferron ships a local certificate authority (CA, the body that signs certificates). Following the pattern of the docs on local TLS (opens in a new tab), this configuration ran in the test:
localhost:8444 {
tls {
provider local
cache /var/cache/ferron-acme/local-tls
}
root /srv/www/site
}Checked: ferron validate reported "Unknown directive … cache is unused". The cache directive appears in four examples in the docs, but the source (opens in a new tab) of rc.11 doesn't know it. Without the line, the provider worked: Ferron generated a root CA valid for ten years and an ECDSA certificate for all loopback addresses valid for one year, and with the copied CA the chain could be verified. In the official image, however, Ferron stored the CA in a randomly named directory under /tmp. It follows that every container restart creates a new CA that you have to trust all over again. In a container, I'd therefore rather use my own certificate.
Automatic HTTPS via ACME, according to the docs
Public certificates weren't part of the test, so here is only what the ACME docs (opens in a new tab) say. A wildcard certificate via DNS-01 with Cloudflare looks like this:
*.example.com {
tls {
provider acme
challenge dns-01
contact admin@example.com
dns {
provider cloudflare
api_key "EXAMPLE_API_KEY"
}
}
}According to the docs, you should read the API key from an environment variable via {{env.…}}; ferron doctor flags plain-text secrets. Since rc.11, Ferron orders up to four certificates in parallel, and an order in progress survives a reload. For platforms with many customer domains there's on-demand TLS with on_demand_ask, an endpoint Ferron asks before every issuance.
Here, too, the docs contradict themselves. One section is titled "In-memory cache (default)", while the parameter table on the same page gives /var/cache/ferron-acme as the default, if writable. The source (opens in a new tab) follows the table. In the Docker image, this directory belongs on a volume; otherwise, according to the Docker docs (opens in a new tab), Ferron fetches a new certificate on every restart.
Logs
The Docker image writes access logs as JSON to standard output. Checked: each JSON object is preceded by a text prefix of timestamp and log level such as [YYYY-MM-DD hh:mm:ss.mmm INFO]. So the lines aren't pure JSON Lines, and a program that collects them has to strip the prefix. Error messages carry [trace=…] with the same ID as the access log. According to the logging docs (opens in a new tab) and the source, Ferron writes log files in the "Enhanced Combined Log Format", the Combined format plus host and trace ID. Several other docs pages, such as the installation guides, simply call it Combined; for strict parsers that's a difference.
Installation and operation
Ferron is available as a Docker image, as a package for Debian, Ubuntu, RHEL and Fedora, through an installer script, for Windows, macOS and FreeBSD, and as a Nix flake. The most important point here is which version you get.
The channel trap
| Route | Result |
|---|---|
docker pull ferronserver/ferron or :latest |
Ferron 2.8.1 |
ferronserver/ferron:3 |
3.0.0-rc.11 |
apt install ferron |
Ferron 2.8.1, ferron-lts gives you 2.6.4 |
apt install ferron3 |
3.0.0-rc.11 |
get.ferron.sh/v3 without FERRON_VERSION |
3.0.0-rc.11 |
| Homebrew, nixpkgs | Ferron 2.8.1 |
The table is backed by the Docker Hub (opens in a new tab) registry, the project's package repositories and the download channel latest3.ferron. Three things stand out. The image is called ferronserver/ferron, not ferronweb/ferron like the GitHub organization, and the description on Docker Hub still shows the instructions for version 2. The :3 tag for the major version points to a release candidate. If you use it, you get every new RC, breaking changes included. And the installer docs (opens in a new tab) promise "the latest stable version" without FERRON_VERSION, but the script fetches the channel for version 3 and therefore rc.11.
The website isn't consistent either: the download page (opens in a new tab) recommends 2.8.1 and calls rc.11 "Intended for testing", while the home page and README show only the installation of version 3, with no hint of its RC status. If you test Ferron 3, I'd advise you to always use an exact tag such as 3.0.0-rc.11 together with the digest, the checksum of the image.
Docker
According to the Dockerfile (opens in a new tab), the standard image is based on distroless, a base image without a package manager, and runs as the user nobody. There are also variants with Alpine and Debian, as well as FIPS builds for environments that require certified cryptography. Checked on the image:
- No shell. Troubleshooting only works through
docker logs,docker cpand the Ferron programs themselves. ferron --versiondoesn't exist; the version is shown byferron version.- Only port 80 is declared. Other ports work anyway, in the test for example 8001 to 8010 and 8443. That
nobodymay bind to port 80 at all is, by all indications, down to Docker, which unlocks low ports inside containers. Under other runtimes this may look different. conf.das a volume replaces the default site. The main file/etc/ferron/ferron.confloads everything from/etc/ferron/conf.d/. If you mount a directory of your own there,00-default.confdisappears, while the JSON log from the main file stays.- Idle memory. In two test runs, the image without its own configuration used around 9 MiB according to
docker stats(8.9 and 9.4 MiB), and a test container with twelve to fourteen listeners between roughly 11 and 19 MiB. These are snapshots from functional tests, not a benchmark.
Packages and systemd
The installer and the packages create a system user ferron and install a systemd unit. According to the source (opens in a new tab), it looks like this:
[Unit]
Description=Ferron web server
After=network.target
[Service]
Type=forking
User=ferron
ExecStart=/usr/sbin/ferron daemon -c /etc/ferron/ferron.conf --pid-file /run/ferron/ferron.pid
ExecReload=/bin/kill -HUP $MAINPID
PIDFile=/run/ferron/ferron.pid
RuntimeDirectory=ferron
Restart=on-failure
AmbientCapabilities=CAP_NET_BIND_SERVICE
[Install]
WantedBy=multi-user.targetSo Ferron never starts as root in the first place. It reaches ports 80 and 443 through the capability CAP_NET_BIND_SERVICE, a single root privilege that systemd hands to the process. Further hardening is missing: no settings such as NoNewPrivileges, ProtectSystem, ProtectHome or PrivateTmp, no LimitNOFILE. You can add that through a drop-in, an additional file for the unit, with systemctl edit ferron; such hardening hasn't been tested here. According to the source, there's also no sandbox in the program itself, neither seccomp, which limits the permitted system calls, nor Landlock, which mainly limits file access.
The Debian package ferron3 conflicts with ferron, so running both versions side by side via packages isn't possible. The RPM repository file points to the signing key via http:// instead of https://. And according to the README, you start the installer with sudo bash -c "$(curl -fsSL https://get.ferron.sh/v3)", a form that has been criticized repeatedly on Hacker News. In my view, packages or Docker are the cleaner route.
validate and doctor
Ferron 3 comes with two check commands. ferron validate -c ferron.conf checks syntax and values; ferron doctor -c ferron.conf additionally checks best practices, meaning recommendations such as log rotation or a protected admin API. Checked against deliberately broken files:
| Error | Result of validate |
Exit code |
|---|---|---|
| Missing closing brace | Parse error with line and column | 1 |
Typo roo instead of root |
only the warning "Unknown directive" | 0 |
Plain-text password in basic_auth |
Error | 1 |
| Unknown TLS provider | Error | 1 |
| Broken regular expression | Error | 1 |
rate abc instead of a number |
Error | 1 |
Invalid escape sequence \z |
Parse error | 1 |
The tricky row is the typo. According to the docs (opens in a new tab), an unknown directive is only a warning; the server starts and ignores it. A roo instead of root or a tlss instead of tls therefore goes unnoticed as long as you only look at the exit code. In a CI pipeline, I'd evaluate the JSON output of validate --json and treat warnings of this kind as errors. Best-practice hints are shown only by doctor, and it too ends with exit 0. Checked: for a host example.com:8443 with provider local, doctor reported a violation, while validate only said "All good!". ferron run with an invalid configuration doesn't start at all, checked with exit 1.
Reloading without a restart
Ferron reloads a changed configuration while running, in three ways: via the SIGHUP signal (with systemd, systemctl reload ferron), via the admin API or via file watching. Checked:
- SIGHUP loaded the new configuration immediately. There's no separate success message, only "Reloading configuration...".
- Invalid configuration on reload: Ferron kept running with the old one ("continuing to run with the previous configuration"). For some errors, though, the message named the wrong file: a plaintext password in
basic_authwas reported in the first file that defined the merged host, while a bad value likerate abcwas reported at the right file and line.ferron validatebehaves the same way. - File watching in the form from the docs,
ferron run --config-params 'watch=1;file=/w/ferron.conf' --config-adapter ferronconf: a change took effect after around one second, and a broken change was discarded. - Trap:
-ctogether with--config-params 'watch=1'ended with "'file' parameter is required". According to the source, Ferron takes the path from-conly when no--config-paramsare set.
Without file watching, Ferron warns when a file has been changed but not yet reloaded, checked. That only applies to files Ferron has already loaded, though: a newly created file in conf.d/ didn't trigger a warning in the test. Also, the warning only appears when a log is configured, which is the case in the Docker image. According to the syntax docs, you can switch this warning off with --config-params 'code=1;file=logs.conf'. That parameter doesn't exist: the source, the changelog and the docs on the JSON format name drift_hints=false. Checked: with --config-params 'drift_hints=false;file=…' the warning stayed away, with code=1 it kept coming. According to the source, changes to the runtime block only take effect after a restart, and a new program release always means a restart, because Ferron has no binary swap during operation.
The admin API
The admin API is a small HTTP interface for status, configuration and reload. Without an admin block, according to the docs (opens in a new tab), it's off entirely. As soon as the block exists, according to the source (opens in a new tab), all endpoints are on, on 127.0.0.1:8081 and without authentication. The docs themselves say: "Treat it with the same security posture as a root shell on your server." Their example switches each endpoint individually, according to the docs and not checked:
{
admin {
listen "127.0.0.1:8081"
auth_token "my-secret-token"
health true
status true
config true
reload true
reload_get true
runtime true
}
}The page on the admin API (opens in a new tab) recommends, as a secure baseline, setting status and config, among others, to false. That's a recommendation; the default with the block present remains true. Switch on only what you actually query, and always set a token.
Unlike Caddy, Ferron's admin API doesn't accept a new configuration. It only reads and triggers a reload of the files on disk. I like that auth_token gives you a built-in bearer token, a secret key in the header of every request. Two catches: according to one place in the docs, the API listens on all interfaces if you leave out the bind address, for example with listen ":9000". Checked: Ferron then silently falls back to 127.0.0.1:8081, the desired port is lost too, and validate reports "All good!". So always write the address out in full. And from rc.1 to rc.5, according to the advisory (opens in a new tab), POST /reload checked the wrong flag, fixed in rc.6.
Migrating from Ferron 2
According to the migration docs (opens in a new tab), the official route has five steps: back up, replace Ferron 2 with Ferron 3, convert into a new file with ferron-kdl2ferron, review and validate, and only then go live. The commands according to the docs:
apt remove ferron && apt install ferron3
ferron-kdl2ferron ferron.kdl ferron.conf.new
ferron validate ferron.conf.new
ferron run -c ferron.conf.newThe third and fourth lines don't work like this. According to the source, validate only takes the path via -c; Ferron rejects ferron validate ferron.conf.new as an unexpected argument. But even with -c both commands fail, checked: Ferron detects the format from the file extension, and it doesn't know .new ("Configuration adapter not specified and could not be determined from file extension"). So write the new file with the .conf extension, i.e. ferron-kdl2ferron ferron.kdl ferron.new.conf and then ferron validate -c ferron.new.conf, or append --config-adapter ferronconf. In the Docker image, the location changes as well: Ferron 2 read /etc/ferron.kdl, Ferron 3 reads /etc/ferron/ferron.conf and /etc/ferron/conf.d/. So you have to change your volume mounts to the new paths.
What the converter does and doesn't do
According to the docs, the ferron-kdl2ferron converter translates most directives, writes open points as # TODO(ferron-kdl2ferron): … at the top of the new file and prints warnings. The first three points were checked with a small test file; the rest come from the docs and the source (opens in a new tab):
trust_x_forwarded_forbecomesclient_ip_from_header x-forwarded-forwithtrusted_proxy "0.0.0.0/0", meaning trust towards every address. That's exactly whatferron doctorflags as a risk, because any client can then fake its address. Enter your proxy's real network.listen_ipis written by the converter astcp { listen_ip … }, but according to the source the server reads onlylistenin thetcpblock. The check reports only the warning "…listen_ipis unused", and Ferron then listened on all addresses.locationwithoutremove_base=#true, the normal case in Ferron 2, becomes amatchblock with a regular expression such as^/api(?:$|/)plusif. That way the prefix is kept as before, and the converter notes this as a TODO in the file header. You should rename the generated names such asferron2__location_….- Incomplete: according to the source, the converter doesn't fully translate
status 401for basic auth or conditions in Rego, a rule language that Ferron 2 supported. Rego is dropped without replacement. wwwredirecthas no direct counterpart; the converter rebuilds it withifandstatus.
What worries me more are the changes that don't produce an error message. Your configuration starts but behaves differently:
- If you rewrite
locationby hand: Ferron 3 always removes the prefix, andremove_baseno longer exists. - ACME uses HTTP-01, so port 80 has to be reachable.
- Symlinks in the webroot lead to a 403, unless you set
disable_symlinks false. - HTTP/3 is on, so open UDP 443 as well.
- Lookahead, lookbehind and
\1in regular expressions no longer work; at least the converter warns. - Named hosts no longer inherit handlers from the host
*.
If you've been running Python directly in Ferron 2 via WSGI or ASGI, you switch to a reverse proxy in front of gunicorn or uvicorn; the external Python module doesn't fit Ferron 3's module system. Your own modules for Ferron 2 have to be rewritten anyway; in Ferron 3 they're compiled in as Rust crates, i.e. Rust packages.
Security
In short: Rust protects Ferron from many memory bugs, but the vulnerabilities in Ferron 3 so far were logic bugs, and all of them are fixed. Ferron advertises memory safety, and the argument has a kernel of truth. In normal, "safe" code, Rust prevents entire classes of bugs such as buffer overflows or access to memory that has already been freed (use-after-free). According to its news (opens in a new tab), nginx, written in C, had to fix exactly such bugs several times in 2026. The README puts it in absolute terms: "entire categories of memory-related security holes simply don't exist in Ferron". It isn't quite that simple.
Putting memory safety in context
Rust has unsafe blocks, in which the programmer rather than the compiler vouches for correctness. A simple count in the source yields around 470 lines of the form unsafe {: 70 in Ferron itself, 357 in the zincio runtime and 47 in zincio-http, both in the versions used by rc.11. What's counted are lines, not reviewed blocks. So the bulk sits in the in-house runtime, which reaches deep into the operating system. No audit of these crates is documented. In the blog post on the renaming (opens in a new tab), the maintainer himself reports "io_uring use-after-frees that led to memory corruption" in his own runtime. On top of that, dependencies bring in C code: AWS-LC for the cryptography, ring, zstd and jemalloc as the memory allocator.
Compared with nginx and Apache, the argument still holds. Compared with Caddy, which is written in Go and is memory-safe as well, it hardly works as a differentiator, as a comment on Hacker News (opens in a new tab) already put it in 2025: "Memory-safe is nice compared to Nginx, but pretty moot when comparing to Caddy." And Ferron 3's actual vulnerabilities were logic bugs, which Rust doesn't help against.
Seven advisories for pre-releases
The repository lists (opens in a new tab) seven advisories, all for pre-releases of 3.0 or for zincio-http, all published on 25 September 2026, none with a CVE number, the cross-vendor identifier for vulnerabilities. The identifiers begin with GHSA, for GitHub Security Advisory. Two of them concern the forward proxy, a proxy that clients themselves use to reach the internet:
| Advisory | Severity | Affected | Fixed | What it's about |
|---|---|---|---|---|
| GHSA-vp46-fx86-chgc (opens in a new tab) | critical | beta.2 to rc.4 | rc.5 | auth_to let rejected requests through to the proxy backend |
| GHSA-65v2-g5fc-7r73 | high | beta.1 to rc.5 | rc.6 | %2F bypassed location rules for static files |
| GHSA-3vvm-v3qp-7gmg | high | beta.1 to rc.5 | rc.6 | Forward proxy let blocked targets through on DNS errors |
| GHSA-jhxh-2fvx-85c3 | high | beta.1 to rc.5 | rc.6 | Forward proxy passed Proxy-Authorization on to target servers |
| GHSA-chmh-xfr6-94xp | high | zincio-http up to 0.4.9 | rc.7 | HTTP/2 Rapid Reset |
| GHSA-g26q-6rqx-4wr7 | high | zincio-http up to 0.4.9 | rc.7 | quadratic computational cost in the HTTP/3 parser |
| GHSA-q448-r9rw-98p6 | medium | rc.1 to rc.5 | rc.6 | Admin API checked the wrong flag on POST /reload |
The critical vulnerability is the most serious one. With auth_to, Ferron asks an external authentication service such as Authelia whether a request is allowed. In combination with proxy, Ferron discarded the rejection, and the request reached the backend anyway. According to the advisory, this applied to "GET, POST, PUT, DELETE, PATCH and HEAD". The cause was a change from June 2026 that was meant to allow several authentication services in a row. There was no workaround, only the update.
Two of the high ratings go back to the in-house HTTP stack. HTTP/2 Rapid Reset is a well-known attack from 2023 (CVE-2023-44487): a client starts requests, cancels them immediately and thereby overloads the server. Since beta.9, Ferron has used its own implementations of HTTP/2 and HTTP/3 instead of the libraries from the Hyperium project, and this code wasn't protected against the known variant. If you write your own protocol stack, you also invite the old attacks back in; that's my conclusion.
That said, scaremongering would be wrong. In the critical case, around twelve hours passed between the test attack logged in the advisory and the release of rc.5, and the fix commit even followed after about an hour. Four of the seven advisories name the maintainer himself as the finder, and all were published only after the fixes. I take the list seriously, but for me the quick response speaks in the project's favour rather than against it. If you're still on rc.6 or older, you're affected.
One quirk of the build makes crash bugs weigh more. According to the root Cargo.toml, the release profile sets panic = "abort". A panic, a hard program abort in Rust, therefore ends the whole process and not just one connection. The Vulnerabilities (opens in a new tab) page lists such a case for the time before beta.2: a chunk length close to the maximum value crashed the server.
TLS, defaults and what's missing
According to the TLS docs (opens in a new tab), Ferron 3 supports TLS only in versions 1.2 and 1.3. Cipher suites and key exchange follow the rustls defaults. Judging by the source, Ferron offers the hybrid post-quantum key exchange X25519MLKEM768, which is meant to protect against future quantum computers as well, but in last place, because Ferron pulls in rustls without its default features. That's inferred from the Cargo settings, not measured in the build.
Ferron 3 has a number of secure defaults: no directory listing, no symlinks, rejection of null bytes and backslashes in URLs, no version number in the Server header and a forward proxy that blocks all targets without an allowlist. What's missing: security headers don't come by themselves, request buffering against slow attacks such as Slowloris is off by default according to the docs, and there's no in-process sandbox. On the positive side, I see the fuzzing, automated testing with random inputs: according to the workflow (opens in a new tab), ten fuzz targets run daily, and on every push that changes code on the development branch, another workflow checks the dependencies for known vulnerabilities with cargo audit. The protocol parsers in zincio-http, however, live in a separate repository and aren't directly covered by these targets.
What this means for Ferron 2
According to SECURITY.md (opens in a new tab), Ferron 3 as a release candidate, Ferron 2 and Ferron 2 LTS are supported; no source gives an end date for Ferron 2. Since 2.8.1 on 17 June there hasn't been another release of the 2.x line, even though the changelog of the development branch (opens in a new tab) lists fixes such as "Hardened HTTP/3 settings". Whether any of that is security-relevant isn't documented. I notice it because the project recommends 2.8.1 at the same time. According to SECURITY.md, you report vulnerabilities to security@ferron.sh or privately via GitHub.
Performance
Performance is Ferron's loudest promise, and this is where the evidence is thinnest. For Ferron 3 there are only measurements by the project itself. No independent benchmarks could be found during the research, and this article deliberately doesn't include load tests of its own.
The project's benchmark page
The benchmark page (opens in a new tab) gives 2 September 2026 as its date. The measurements were made with h2load, a load tool for HTTP/2, and with tquic for HTTP/3. The server was a desktop PC with an AMD Ryzen 7 8700G, the client a laptop on Wi-Fi. The headlines:
| Test | Ferron 3 | Ferron 2 | nginx | Caddy |
|---|---|---|---|---|
| HTML, 226 bytes | 133,518 | 107,110 | 86,314 | 74,837 |
| 10 KB file | 6,145 | 7,439 | 7,601 | 6,488 |
| HTTP/3, 226 bytes | 114,799 | not measured | 12,275 | 93,247 |
| Reverse proxy, 501 connections | 76,894 | 105,913 | 162,659 | 57,892 |
| Reverse proxy, 9,901 connections | 47,129 | 15,778 | 12,947 | 28,195 |
All values in requests per second, read from the page's chart data. To put them in context, what counts is what isn't in the headline:
- Development snapshots instead of releases. The benchmark repository (opens in a new tab) builds all servers from development branches: nginx from
master, Apache fromtrunk, Ferron 3 fromdevelop-3.x. The Ferron version isn't given. Going by the date, it was roughly at the level of beta.11, i.e. before all the security fixes of the RC phase. Ferron was built without the PGO of the official Linux binaries, an optimization based on measured runtime profiles. - Unequal conditions. Zstandard ran at level 4 for Ferron and at level 3 for the others. The WordPress test ran over localhost, Ferron with an LSCache-compatible cache that evaluates the cache headers of the LiteSpeed Cache plugins for WordPress.
- The network as the limit. The tests with 10 KB and 2 MB were probably capped by the Wi-Fi. For another series of measurements, the maintainer himself writes in a later post (opens in a new tab): "I could not test anything network-related from a WiFi client whose ceiling was 640 Mb/s". Arithmetically, the 10 KB values (up to around 7,600 requests per second) come to about 610 Mbit/s, right at this limit.
- Ferron 2 is sometimes ahead. At low and medium proxy load, Ferron 2 is faster than Ferron 3, and for mean latency in the proxy, according to the chart data, Ferron 3 isn't the best server at any of the 100 measurement points.
The page puts itself into perspective: differences of 10 to 20 percent often mean "little or no perceptible difference" for users. I agree with that.
Other measurements, a different picture
Two days before the benchmark page, the project published a measurement in the blog post on beta.11 (opens in a new tab) with wrk over HTTPS and HTTP/1.1, client and server on the same machine, a static file of around 2.6 KB. There, nginx at 348,801 requests per second was ahead of Ferron 3 at 333,300 and Ferron 2 at 302,918, and Caddy reached 124,584 with 22 timeouts. The project wrote: "Ferron 3 sits within 4.4% of NGINX's C-based transport core." Depending on the setup, sometimes nginx is ahead and sometimes Ferron, and that's exactly why I don't trust any single number.
io_uring: advertised, but off
The zincio runtime advertises io_uring, and a project blog post from July 2026 named "io_uring through vibeio" as a feature of 3.0. It ships switched off, according to the changelog for beta.11, "as small static file serving and reverse proxying performance turned out to be slower than with epoll". epoll is the classic Linux mechanism for watching many connections at once. You can switch io_uring on with runtime { io_uring }, which according to the source only takes effect after a restart. In a Docker container, io_uring stays off anyway, checked: Docker's default seccomp profile blocks the interface, and Ferron falls back to epoll without any message in the log. You can spot this at the /runtime endpoint of the admin API, which then reports io_uring_runtime_enabled as false.
What holds up
Not much holds up. The official Linux binaries use PGO, according to the changelog for beta.9 for GNU/Linux and for musl on x86_64 and ARM64, mainly for better values on the slowest responses. Since rc.6, according to the changelog, Ferron saves around 20 MB at idle because it only allocates buffers for observability when needed. The idle observation from the Docker section fits that. My impression, going by the data: Ferron 3 is competitively fast and frugal with memory. Whether it's faster than nginx or Caddy in your scenario, only a test of your own with your load will tell you.
One project, one maintainer and AI
For running a web server, besides the technology, one simple question counts: who will still be maintaining it in three years? With Ferron, the honest answer right now is: one person.
Bus factor 1
The bus factor tells you how many people would have to drop out before a project comes to a halt. With Ferron it's one, and the project says so itself. In the call from June 2026 (opens in a new tab), the maintainer writes: "Ferron is currently maintained by a single volunteer" and "having a co-maintainer is essential, without one, the project would stall if I become unavailable." Whether anyone has been found, no source says, and the commit data shows no second regular contributor. Of 5,206 commits on the main branch, 4,904 are his, around 94 percent, with the rest largely from bots. Among the commits by humans it's almost 99 percent (as of 24 November, branch develop-3.x). Of 378 merged pull requests, 31 came from other people.
No funding is visible, neither through GitHub Sponsors nor through Open Collective. There's no commercial support; according to the support page (opens in a new tab), an answer to e-mails comes "typically" within one to two business days. Caddy offers support through sponsorship tiers, nginx through F5's commercial subscription. I don't mean this as criticism. What one person has built here in around 21 months deserves respect. For your decision, it's still the most important point alongside the RC status.
Ferron 3 and AI agents
Ferron 3 was explicitly built with AI assistance, and the project is open about it. For the in-house HTTP/2 and HTTP/3 implementations, the maintainer describes the process in the blog post "Vibe-building HTTP" (opens in a new tab): "I wrote the spec … Then I let an AI agent write an implementation plan … Afterwards, I let the AI agent implement, following the plan." The contribution guidelines (opens in a new tab) allow AI agents for code and docs but require an Assisted-by: AgentName:ModelVersion trailer in the commit. Autonomous agents that open pull requests themselves are forbidden, and a CI workflow looks for traces of "AI slop", AI output adopted without review. Up to rc.11, 199 of 5,164 commits carry such a trailer, all since the end of July 2026. The runtime itself lives in separate repositories and isn't included in this number.
The maintainer's stance is summed up in his post on AI (opens in a new tab): "not anti-AI dogmatist, just against mindlessly accepting AI output without review that would let slop slip in." Fittingly, the runtime was renamed: it was first called vibeio because, according to the maintainer, it was created "with help of AI", and since August it has been called zincio because, according to the maintainer, "vibe-coded" had become a worn-out buzzword. According to the SECURITY.md of rc.11, all changes "(including AI-generated ones!)" are reviewed with security and correctness checks. Version 2.8.1 still spoke of "peer review". When almost 99 percent of the human commits come from one person, however, an independent review can't be demonstrated.
I work with AI myself, as the AI transparency page describes, and so I look at this soberly. I find the disclosure via trailer exemplary. What matters to me isn't whether AI helped write the code, but that one person reviews a great deal of it, including a runtime and a protocol stack of their own. Why a separate review pass achieves so much is something I described for texts in Who Checks the Checker?.
Ferron alongside Caddy, nginx, Apache and FrankenPHP
Technically, Ferron is closest to Caddy: automatic TLS, compact configuration, an adapter to JSON. On its home page, though, the project positions itself next to nginx, and the migration guides are aimed at people moving from nginx and Apache; there's no "From Caddy" guide. The table compares documented features, as of 24 November 2026:
| Feature | Ferron 3.0.0-rc.11 | Caddy 2.11.9 | nginx 1.30.8 / 1.31.10 | Apache 2.4.71 | FrankenPHP 1.14.0 |
|---|---|---|---|---|---|
| Status | Release candidate | stable | stable / mainline | stable | stable |
| Automatic HTTPS | yes, by default | yes, by default | via the nginx-acme module, explicit | via mod_md, explicit, "Experimental" | yes, from Caddy |
| DNS-01 in the standard build | yes, eleven providers | no, plugin needed | no | only via an external script | like Caddy |
| HTTP/3 | on by default | on by default | "experimental", included in the nginx.org Linux packages, enabled via listen … quic |
no, only HTTP/2 (mod_http2) | yes |
| Change configuration at runtime via API | no, only read and reload | yes | no; from 1.31.5 (mainline) only check and reload, changing upstreams only commercially | no | yes |
| Cache and rate limiting | built in | plugins needed | built in | cache built in | like Caddy |
| Active health checks | yes | yes | only commercially | yes, mod_proxy_hcheck | yes |
| PHP | via PHP-FPM | via PHP-FPM | via PHP-FPM | mod_php or PHP-FPM | built in, with worker mode |
.htaccess |
no | no | no | yes | no |
| Extension | Rust crates, compiled in | Go modules, compiled in | C modules | modules | Caddy modules |
| License | MIT | Apache-2.0 | BSD-2-Clause | Apache-2.0 | MIT |
The sources are, for Ferron, the docs and source at the rc.11 tag; for Caddy, the docs on automatic HTTPS (opens in a new tab) and the admin API (opens in a new tab); for nginx, the module docs on ACME (opens in a new tab), HTTP/3 (opens in a new tab) and active health checks (opens in a new tab); for Apache, the docs on mod_md (opens in a new tab) and mod_proxy_hcheck (opens in a new tab) as well as the module overview (opens in a new tab). The nginx Control API arrived in mainline, the development branch with new features, with 1.31.5; changing upstreams at runtime is only possible with the commercial subscription. FrankenPHP 1.14.0 came out on 21 November; the article on FrankenPHP still refers to 1.13.5.
I consider three differences decisive. First, Ferron's standard build includes much of what, with Caddy, requires a custom build with plugins that you have to rebuild for every security release: DNS-01, cache, rate limiting, forward proxy. Second, Caddy can be reconfigured completely via its API, so for platforms that add sites at runtime Caddy is the better fit. Third, the maturity is very different: Caddy has 484 contributors on GitHub and a registry with 345 packages, Ferron 25 entries in its contributor list, bots included, and no module registry.
Compared with nginx, the configuration model is simpler but more limited. The migration docs for nginx (opens in a new tab) name the differences openly: no regex locations, no try_files, no alias, no new location lookup after a rewrite. Simple configurations carry over well; complex regex rules need real rework.
Compared with Apache, .htaccess is missing by design: "Ferron deliberately does not read .htaccess files." For shared hosting, where customers maintain their own rules, Ferron is therefore no replacement. According to the docs, though, Ferron works as a cache in front of an existing Apache, with support for the LSCache headers from plugins for WordPress and other CMSs. Finally, Ferron competes with FrankenPHP only indirectly: FrankenPHP is a PHP application server with a worker mode, in which the application stays in memory between requests, while Ferron is a web server that hands PHP off to PHP-FPM.
Who Ferron 3 suits and when it doesn't yet
Going by the evidence, Ferron 3 is a good fit for static sites and reverse proxies with automatic HTTPS and little configuration, for wildcard certificates via DNS-01 without a custom build, for several servers with a shared ACME cache, and for environments where observability with Prometheus, OpenTelemetry and end-to-end trace IDs matters.
Ferron 3 doesn't yet fit anything that requires a stable major version. The project says so itself with "Intended for testing", and the situation confirms it: breaking changes up to rc.10, seven advisories in the beta and RC phase, and an open bug in rc.11. Issue #1028 (opens in a new tab) from 22 November describes requests through the reverse proxy that intermittently hang until they time out, "only a restart helps". There's a fix for it in the development branch, but as of the cut-off date there was no release containing it. Add to that the bus factor, the lack of commercial support and the limits from the comparison above.
My recommendation is therefore twofold. Test rc.11 now, in a test environment, with an exact tag and digest, and read the changelog as you go. In production, I'd stay with Ferron 2.8.1 or 2.6.4 LTS until the stable release or, as I do, with Caddy. And even after 3.0 final, I'd wait for one or two patch releases before switching over an important service.
Conclusion
Ferron 3 is a bold rebuild. Its own runtime, its own HTTP stack, a new configuration format and a focus on debugging in production, built by one person with openly declared AI help. The new format is more readable than KDL, the validate and doctor check tools are a real gain, and in the test almost everything the docs promise worked. Where things snagged, it was mostly the docs contradicting the code: with the cut-off location prefix, the Server header, the missing cache directive for local TLS and the parameter for the drift hints.
The weaknesses are those of a release candidate in a one-person project: breaking changes until late in the RC phase, a wave of advisories with quick fixes, an open proxy bug and benchmarks that come only from the project itself. I'll keep watching Ferron because I like the direction. For production I'd wait for 3.0 final, and if you want to get started now, do it with Ferron 2 or in a test environment.
Frequently asked questions
Is Ferron 3 production-ready yet?
According to the project, no: the download page calls 3.0.0-rc.11 "Intended for testing" and recommends 2.8.1. There are also breaking changes up to rc.10 and an open bug in the reverse proxy (issue #1028). There's no date for 3.0.0 final; the maintainer calls it "imminent".
What's the difference between ferronserver/ferron:latest and :3?
latest and 2 point to Ferron 2.8.1, 3 to 3.0.0-rc.11. If you use :3, you automatically get every new release candidate. For testing, you're better off with an exact tag such as 3.0.0-rc.11 plus the digest.
Can Ferron 3 read my ferron.kdl?
No. Ferron 3 loads only ferron.conf and JSON. You convert your KDL file once with ferron-kdl2ferron into a file with the .conf extension and check the result with ferron validate -c and ferron doctor -c, especially trusted_proxy, tcp { listen } and all location blocks.
Does PHP run with Ferron?
Yes, via PHP-FPM with fcgi_php or via CGI. In the test, PHP 8.4 ran over FastCGI, including PATH_INFO. Ferron and PHP-FPM need the same files under the same path. Ferron has no built-in interpreter with a worker mode like FrankenPHP.
Further reading
The key Ferron 3 directives and commands are in the Ferron cheat sheet, and those of the other servers in the cheat sheets for Caddy, nginx and FrankenPHP. How Caddy runs with built-in PHP and how serious a wave of vulnerabilities can be is described in the article on FrankenPHP and Caddy. Where the Ferron 2 and 3 configurations in JPKCom Desktop come from is told in the making-of of JPKCom Desktop. Why texts like this one get checked separately from the writing is shown in Who Checks the Checker?.
For this article, Claude Code supported me with creation, correction and verification. The direction and the editorial responsibility are mine. There's more on that on the AI transparency page.