mirror of
https://github.com/caddyserver/caddy.git
synced 2024-11-29 20:24:11 +08:00
12 lines
458 B
Markdown
12 lines
458 B
Markdown
SysVinit conf for Caddy
|
|
=======================
|
|
|
|
Usage
|
|
-----
|
|
|
|
* Download the appropriate Caddy binary in `/usr/local/bin/caddy` or use `curl https://getcaddy.com | bash`.
|
|
* Save the SysVinit config file in `/etc/init.d/caddy`.
|
|
* Ensure that the folder `/etc/caddy` exists and that the folder `/etc/ssl/caddy` is owned by `www-data`.
|
|
* Create a Caddyfile in `/etc/caddy/Caddyfile`
|
|
* Now you can use `service caddy start|stop|restart|reload|status` as `root`.
|