Skip to content

Latest commit

 

History

History
32 lines (24 loc) · 1.1 KB

caddy2-setup-for-debian.md

File metadata and controls

32 lines (24 loc) · 1.1 KB
tags
Caddy
Debian
Setup
Proxies
Server

Caddy2 Setup for Debian

Official Site

Install

sudo apt install -y debian-keyring debian-archive-keyring apt-transport-https
curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/gpg.key' | sudo tee /etc/apt/trusted.gpg.d/caddy-stable.asc
curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/debian.deb.txt' | sudo tee /etc/apt/sources.list.d/caddy-stable.list
sudo apt update
sudo apt install caddy

Once installed, caddy is running.

The default config file at /etc/caddy/Caddyfile

Resources