It also comes with an optional caddy-api service which is not enabled by default, but should be used if you primarily configure Caddy via its API instead of config files. Installing this package automatically starts and runs Caddy as a systemd service named caddy. The caddy upgrade command can make this easy. You can upgrade static binaries by replacing them with newer versions and restarting Caddy. (Run echo $PATH to see the list of directories that qualify.) Place the binary in one of your $PATH (or %PATH% on Windows) directories so you can run caddy without typing the full path of the executable file. This is strongly recommended, especially for production servers.
0 Comments
Leave a Reply. |