# Ferron

Ferron is a fast, memory-safe web server written in Rust, designed for production debugging. It is open source and self-hosted, installable on Docker Hub.

Canonical page: https://ourlocalhost.com/app/8006/ferron

## Description

Ferron is a fast, memory-safe web server written in Rust, designed for production debugging. It lets you set up websites and reverse proxies with a compact, readable KDL configuration, issues and renews TLS certificates automatically, and provides first-class observability with correlated logs and trace IDs so you can see exactly why a request failed. It suits homelab users and developers who want predictable, easy-to-configure serving and proxying without the sprawl of traditional servers.

## Platform availability

Available on 4 of 10 platforms: Mac, Windows, Linux, Any server.

## Desktop and other devices

Mac, Windows, Linux, Other (freebsd).

## Health score

85/100 (Excellent), based on 4 of 5 factors.
- Maintained: 100 (last commit 0 days ago)
- Popular: 67 (2,234 GitHub stars)
- Easy to install: 65 (5 install platforms, install notes)
- Security check: 100 (no serious findings, CI, tests)

## Links

- Official website: https://ferron.sh
- GitHub: https://github.com/ferronweb/ferron
- desktop: https://github.com/ferronweb/ferron/releases/latest
- Documentation: https://ferron.sh/docs
- Docker Hub: https://hub.docker.com/r/ferronserver/ferron

## Common questions

### Does Ferron handle TLS certificates automatically?

Yes, TLS certificates are issued and renewed automatically via ACME, including support for DNS providers, distributed TLS, and mTLS if you need them.

### How do I debug why a request failed (like a 502)?

Error responses include a trace_id; grep your access and error logs for that ID and Ferron shows exactly what happened in that request, such as which upstream connection was refused. You can also enable JSON error responses with json_errors.

### Can I check my config without restarting or starting the server?

Yes, run "ferron validate -c ferron.conf" to validate the config without starting it, or "ferron adapt -c ferron.conf" to output the config as JSON. Changes to a running server can be applied with "sudo systemctl reload ferron".

### Is there a way to migrate from NGINX or Apache?

Yes, the documentation includes migration guides for moving from NGINX, from Apache .htaccess (PHP), and from Ferron 2.

## Alternatives

- Apache HTTP Server: Open-source HTTP server offering cross-platform support, modular architecture, secure configuration, robust content delivery, and extensive…
- BunkerWeb: BunkerWeb is a self-hosted, open-source web application firewall and NGINX-based web server that protects services with secure-by-default s…
- Caddy: Caddy is an extensible web server and reverse proxy that serves Transport Layer Security (TLS) by default, making it simple to secure and r…
- Træfik Proxy: The Cloud Native Application Proxy Simplify networking complexity while designing, deploying, and operating applications.
- Uvicorn: An ASGI web server, for Python.
- freenginx: freenginx is an effort to preserve free and open development of nginx, an HTTP and reverse proxy server, a mail proxy server, and a generic…
- lighttpd: Lighttpd is a secure, lightweight web server that uses memory and CPU more efficiently than comparable servers, with FastCGI, CGI, authenti…
- nginx: Nginx is an HTTP web server, reverse proxy, content cache, load balancer, TCP/UDP proxy, and mail proxy server.

---
Source: Our Local Host (https://ourlocalhost.com/app/8006/ferron), the self-hosted and open-source app directory.
