Updated v2: Documentation (markdown)

Matt Holt 2019-07-05 10:03:38 -06:00
parent 7412279d68
commit 35c57bf98b

@ -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 <path>
[--address <interface>]
```
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