table of contents
CADDY-RELOAD(1) | General Commands Manual | CADDY-RELOAD(1) |
NAME¶
caddy-reload - Changes the config of the running Caddy instance
SYNOPSIS¶
caddy reload --config <path> [--adapter <name>] [--address <interface>]
DESCRIPTION¶
Gives the running Caddy instance a new configuration. This has the same effect as POSTing a document to the /load API endpoint, but is convenient for simple workflows revolving around config files.
Since the admin endpoint is configurable, the endpoint configuration is loaded from the --address flag if specified; otherwise it is loaded from the given config file; otherwise the default is assumed.
OPTIONS¶
--adapter
--address
--config
--force
SEE ALSO¶
caddy-adapt(1), caddy-caddy(1), caddy-environ(1), caddy-file-server(1), caddy-fmt(1), caddy-hash-password(1), caddy-help(1), caddy-list-modules(1), caddy-man(1), caddy-reverse-proxy(1), caddy-run(1), caddy-start(1), caddy-stop(1), caddy-trust(1), caddy-untrust(1), caddy-validate(1), caddy-version(1), caddy(1)
DOCUMENTATION¶
Full documentation is available at: https://caddyserver.com/docs/
VERSION¶
2.4.5-1
BUGS¶
Report Bugs to: https://github.com/caddyserver/caddy
COPYRIGHT¶
(c) Matthew Holt and The Caddy Authors
September 2021 |