Sponsor:

Your company here, and a link to your site. Click to find out more.

caddy-reload - Man Page

Changes the config of the running Caddy instance

Synopsis

caddy reload [flags]

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

-a, --adapter="" Name of config adapter to apply

--address="" Address of the administration listener, if different from config

-c, --config="" Configuration file (required)

-f, --force[=false] Force config reload, even if it is the same

-h, --help[=false] help for reload

See Also

caddy(8)

History

11-Feb-2024 Auto generated by spf13/cobra

Referenced By

caddy(8).

Feb 2024 Auto generated by spf13/cobra