| 1 |
Caddy for Debian |
| 2 |
================ |
| 3 |
|
| 4 |
Command line usage |
| 5 |
================== |
| 6 |
|
| 7 |
See caddy(1) for available subcommands and caddy-<subcommand>(1) for usage and |
| 8 |
available flags of its respective <subcommand>. |
| 9 |
|
| 10 |
Documentation |
| 11 |
============= |
| 12 |
|
| 13 |
An extensive documentation to Caddy can be found at https://caddyserver.com/docs. |
| 14 |
|
| 15 |
Caddyfile |
| 16 |
========= |
| 17 |
|
| 18 |
A default configuration file is installed to `/etc/caddy/Caddyfile`. |
| 19 |
See https://caddyserver.com/docs/caddyfile to learn more about the Caddyfile. |
| 20 |
|
| 21 |
Systemd |
| 22 |
======= |
| 23 |
|
| 24 |
Two Systemd unit files written by its upstream authors are installed: |
| 25 |
- `/usr/lib/systemd/system/caddy.service` |
| 26 |
- `/usr/lib/systemd/system/caddy-api.service` |
| 27 |
The first will read the configuration from `/etc/caddy/Caddyfile`. |
| 28 |
The latter will be controlled via its API and without a configuration file. |
| 29 |
|
| 30 |
Changes to upstream |
| 31 |
=================== |
| 32 |
|
| 33 |
The Caddy binary installed to `/usr/bin/caddy` does not does provide the |
| 34 |
subcommands `add-package`, `build-info`, `remove-package` and `upgrade` |
| 35 |
and includes the `man` subcommand which generates the manual pages shipped |
| 36 |
with this package. |
| 37 |
|
| 38 |
For upgrading Caddy use the APT package manager. |