# Caddy-Modular

Caddy-Modular is a self-hosted network services app. Caddy-Modular builds and runs the latest Caddy web server precompiled with a custom selection of community plugins. It is open source and self-hosted, installable on Unraid.

Canonical page: https://ourlocalhost.com/app/2686/caddy-modular

## Description

Caddy-Modular builds and runs the latest Caddy web server precompiled with a custom selection of community plugins. It lets you compile Caddy with any module you need — DNS providers, storage backends, authentication methods, caching, security enhancements, and metrics collectors — instead of relying on the default module set. Based on the official Alpine Caddy builder image, it is aimed at homelab users who want Caddy with capabilities beyond the standard build.

## Platform availability

Available on 1 of 10 platforms: Unraid.

## Health score

86/100 (Excellent), based on 4 of 4 factors.
- Maintained: 100 (last commit 17 days ago)
- Popular: 98 (78,764 GitHub stars)
- Easy to install: 35 (1 install platform, install notes, Docker image)
- Light to run: 100 (256 MB minimum RAM)

## Links

- Official website: https://caddyserver.com/
- Unraid: https://ca.unraid.net/apps/caddy-modular-0z2kj730c38z4j?q=Caddy-Modular
- Documentation: https://caddyserver.com/docs
- GitHub: https://github.com/caddyserver/caddy

## Common questions

### How do I tell Caddy which Docker container to proxy a domain to?

Add Docker labels to each app container, such as caddy=app.example.com and caddy.reverse_proxy={{upstreams 80}}. These labels tell Caddy which domain to serve and which container or port to send requests to.

### Can I issue TLS certificates for internal names and IP addresses?

Yes, Caddy can fully manage a local CA for internal names and IPs. This lets it provide HTTPS for internal addresses rather than only public domains.

### Can I manage Caddy’s running configuration through an API?

Caddy’s native configuration is a JSON document that can be exported and manipulated through a RESTful config API. This allows the running configuration to be managed online.

### Why can’t Caddy bind the ports it wants?

Caddy may try to bind low ports unless your config specifies otherwise. If the OS requires elevated privileges for those ports, you need to give the Caddy binary permission to do so.

## 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…
- Microsoft IIS: Internet Information Services (IIS) for Windows® Server is a flexible, secure and easy-to-manage Web server for hosting anything on the Web.
- Træfik Proxy: The Cloud Native Application Proxy Simplify networking complexity while designing, deploying, and operating applications.
- 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.
- tsdproxy: TSDProxy is a Tailscale proxy for Docker containers that automatically creates Tailscale machines for labeled containers, providing automat…

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