# caddy-ui-backend

caddy-ui-backend is a self-hosted infrastructure app. Backend for caddy/ui, a web interface for managing Caddy servers, Caddyfiles, routes, certificates, logs, and metrics. It is open source and self-hosted, installable on Unraid.

Canonical page: https://ourlocalhost.com/app/7198/caddy-ui-backend

## Description

Backend for caddy/ui, a web interface for managing Caddy servers, Caddyfiles, routes, certificates, logs, and metrics. Requires the caddy-ui-frontend container and an existing Caddy server. Select the same user-defined Docker bridge network for both UI containers and Caddy. You can use an existing custom bridge network: change Network Type in both templates to that network. If you need a new network, run "docker network create caddy-ui" in the Unraid terminal before installing and select "Custom: caddy-ui". Keep the container names caddy-ui-backend and caddy-ui-frontend. Enable "admin 0.0.0.0:2019" in Caddy's global configuration block; keep the admin API private. Start the backend before the frontend. Set External UI URL to the exact address used in your browser, including scheme and port, such as http://192.168.1.10:9877. Open the frontend to create the administrator, save the

## Platform availability

Available on 1 of 9 platforms: Unraid.

## Health score

61/100 (Good), based on 3 of 4 factors.
- Maintained: 98 (last commit 0 days ago)
- Popular: 33 (45 GitHub stars)
- Easy to install: 20 (1 install platform, Docker image)

## Links

- Unraid: https://ca.unraid.net/apps/app_5b7cfa357d204db8
- GitHub: https://github.com/zackwag/caddy-ui

## Common questions

### Does caddy-ui-backend include the web interface in the same container?

No, the web frontend is a separate Docker image that is built with React and served via Nginx.

### Can I manage Caddy through the UI without editing config files?

Yes, the UI can manage proxy hosts, redirections, SSL certificates, and advanced routes without touching config files.

### Does a Caddy UI have to modify the Caddyfile directly?

No, Caddy can be configured via its API, and the Caddyfile produces the JSON config that Caddy actually runs.

### Why might Caddy fail to resolve internal services when used as a reverse proxy?

It can fail when the setup depends on the router's DNS host overrides to resolve internal service names to local IPs.

## 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…
- 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.
- 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/7198/caddy-ui-backend), the self-hosted and open-source app directory.
