https://github.com/norgul/caddy
Local development domains
https://github.com/norgul/caddy
Last synced: 26 days ago
JSON representation
Local development domains
- Host: GitHub
- URL: https://github.com/norgul/caddy
- Owner: Norgul
- Created: 2026-04-03T11:49:40.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2026-04-03T12:12:40.000Z (4 months ago)
- Last Synced: 2026-04-03T16:36:44.804Z (4 months ago)
- Language: JavaScript
- Size: 136 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Caddy Local
A web UI for managing local development domains with [Caddy](https://caddyserver.com/) reverse proxy.
Add `.local` domains that route to your dev servers running on specific ports — no manual Caddyfile editing or `/etc/hosts` management needed.

## Features
- Add/remove local domains via a simple web interface
- Automatic Caddyfile generation and hot-reload
- Dev server mode (rewrites Host header for frameworks that need it)
- Auto-sync managed domains to `/etc/hosts` via launchd
## Setup
```bash
# Install the hosts file sync daemon (macOS, one-time)
sudo ./install-sync.sh
# Start everything
docker compose up --build
```
The UI is available at [https://caddy.local](https://caddy.local) (or `http://localhost:3080`).
## Usage
1. Enter a domain name and the port your dev server is running on
2. Click **Add** — Caddy starts proxying `https://yourdomain.local` to `localhost:port`
3. Toggle **Dev Mode** if your framework requires the original Host header