From 35c57bf98bc961454328b135fb0bc7f31256d1ce Mon Sep 17 00:00:00 2001 From: Matt Holt Date: Fri, 5 Jul 2019 10:03:38 -0600 Subject: [PATCH] Updated v2: Documentation (markdown) --- v2:-Documentation.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/v2:-Documentation.md b/v2:-Documentation.md index 88639e0..dfe0302 100644 --- a/v2:-Documentation.md +++ b/v2:-Documentation.md @@ -7,6 +7,7 @@ Features which are available in Caddy Enterprise are indicated with   🏢 - [Command-line interface](#command-line-interface) - [start](#start) - [run](#run) + - [reload](#reload) - [stop](#stop) - [version](#version) - [list-modules](#list-modules) @@ -99,6 +100,15 @@ $ caddy stop Stops the running Caddy process. (Note: this will stop any process named the same as the executable file.) +## reload + +``` +$ caddy reload + --config + [--address ] +``` + +Gives the running Caddy instance a new configuration. This has the same effect as POSTing a document to the [/load](#post-load) 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. ## version