Install Caddy
DevProxy uses Caddy for HTTPS termination and reverse-proxying. Install Caddy first, confirm caddy is on PATH, then trust the local CA.
See the official install guide for package-source details: https://caddyserver.com/docs/install.
Windows
powershell
scoop install caddypowershell
choco install caddyVerify the install:
powershell
caddy versionWARNING
Trust Caddy's local CA from an elevated PowerShell session:
powershell
caddy trustIf you run devproxy init or devproxy add on Windows, DevProxy can prompt for UAC and run caddy trust automatically when the local CA has not been generated yet.
macOS
bash
brew install caddyVerify the install:
bash
caddy versionWARNING
Trust Caddy's local CA by approving the UAC prompt on Windows:
bash
caddy trustIf your trust store needs administrator privileges, rerun the command with sudo.
Linux
bash
sudo apt install -y debian-keyring debian-archive-keyring apt-transport-https curl
curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/gpg.key' | sudo gpg --dearmor -o /usr/share/keyrings/caddy-stable-archive-keyring.gpg
curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/debian.deb.txt' | sudo tee /etc/apt/sources.list.d/caddy-stable.list
sudo chmod o+r /usr/share/keyrings/caddy-stable-archive-keyring.gpg
sudo chmod o+r /etc/apt/sources.list.d/caddy-stable.list
sudo apt update
sudo apt install caddybash
sudo dnf install dnf5-plugins
sudo dnf copr enable @caddy/caddy
sudo dnf install caddybash
sudo dnf install dnf-plugins-core
sudo dnf copr enable @caddy/caddy
sudo dnf install caddybash
sudo pacman -Syu caddyVerify the install:
bash
caddy versionWARNING
Trust Caddy's local CA with elevated permissions:
bash
sudo caddy trustAfter installation
Run:
bash
devproxy doctor